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
Does converting an NTFS drive to FAT32 drive require reformatting?
Which linux distribution is better and stable?
OpenXML and inserting multiple rows (in multiple tables) with identity
Buffer overrun error when copying from clipboard in MS Word
how to auto submit hidden field onunload
MS Excel Query : How to pass a list of values to a parameter query
preview.dlg error while attempting to print
Outlook 2003 where to download trial.
my documents folder vanished after slaving xp laptop drive onto vista desktop during upgrade
Sybase + Can't allocate space for object 'syslogs'