1.

Solve : drive listing?

Answer»

With a DOS "DIR" command one can get a listing of files and directories of a specified drive. Which DOS command allows to get a listing of drives (drive letters)?

REGARDS,
CzJasQuote

With a DOS "DIR" command one can get a listing of files and directories of a specified drive. Which DOS command allows to get a listing of drives (drive letters)?

Regards,
CzJas
if you are on XP, can use FSUTIL. Check out fsutil /? . eg fsutil fsinfo drives... I am on WIN 2000 Professional ...A simple one would be.

for %%a in (a c d e f g h i j k L m n o p q r s t u v x y z) do (
if exist %%a echo %%a exist
)


Discussion

No Comment Found