I'm trying to output the
dir c:/[x:x etc list into a text file as well with the following code
DIR >"Input Data".txt
The above works but it doesn't display exactly what is output onto command prompt screen. It includes all files and directories in the root of c: drive.
Any help would be greatly appreciated! :)
CD c:\ DIR C:/D/A:H-D/L ECHO. DIR >"Input Data".txt ECHO. MOVE c:/"Input Data".txt c:/"My Batch Script File Assignment"/"Input"/