Microsoft
Software
Hardware
Network
Question : List all files on c drive with an eight character filename
Trying to identify all files on the c drive which have filenames of eight character in length and no file extension. Filename will be a a random alpha numeric e.g. se34sde4.
So far I have developed the follwowing cmd line:
dir c:\ /B /S /A:-D | findstr /i /E "\<[a-z0-9][a-z0-9][a-z0-9
][a-z0-9][
a-z0-9][a-
z0-9][a-z0
-9][a-z0-9
]\>"
However this is identifing all files ending in eight random alpha numeric character and not those of eight character in length (e.g. directories.acrodata)
Answer : List all files on c drive with an eight character filename
Hi, leecet!
This slightly modified solution should work well for you:
dir /B /S /A:-D | findstr /i /e ".*\\[a-z0-9][a-z0-9][a-z0
-9][a-z0-9
][a-z0-9][
a-z0-9][a-
z0-9][a-z0
-9]\>"
Random Solutions
Applications go not responding when file/insert open dialog under windows XP
How do i modify the List Seperator Character
split the comma seperated string in mysql
TS Licensing Issue- 2003 server
Netout Connection Rest by Peer
Google URL restricted by robots.txt
String Operations in SQL
Configuring RAID in Windows 2003 Server
2007 Exchange setup
Windows XP Photo Printing Wizard