1.

Solve : DOS Command for creating text file?

Answer»

Do you happen to know what the DOS command is to make a text file that would CONTAIN a file listing of all files that had a certain extension (like DLL)?try

set a=%cd:~0,1%
dir %a%:\*.dll /b /s >>%temp%\textfile & cls & type %temp%\textfile


sets drive LETTER as %a%
>> send to a text file , in this case to your %temp% folder and to a textfile called textfile
*.dll means all .dll files , if you typed *.* it would mean all files



Discussion

No Comment Found