Batch code to read text file
i have batch file which write the list of all available drives in a text
file and another batch file to read the contents in that text file(skips
first line) the code for drive list is
wmic logicaldisk get name> "abc.txt the code that is used to read the text
file is
FOR /F "skip=1" %%m IN (abc.txt) DO (echo %%m)
The reader batch only will works if the file is manually created why??
need some solutions please help!!!!
No comments:
Post a Comment