Thursday, 15 March 2012

How to detect Disk drive letter using batch code -


I need your help People would like to create a batch file that will find the DVD running in the disk drive and after that I want to write the batch file in a text file. Now can you help me who will give a batch code that will do this? I hope you can help me. Thank you.

This will list all drive letters in drives.txt : %% Turn on @echo for A (ABCDEFGHJJLMNOPQRSTU VWXYZ) (if present then "%% ~ A:" Echo %% ~ A:> Driving. Txt) < P> Who created me:

  C: P: R:  

No comments:

Post a Comment