EXPERT RESPONSE
Using the DIR command, you would be using something like,
DIR direct1/*.* > DIROUTPUT.DIROUTPUT
The > symbol redirects the output to the file specified. This will, as you say, replace any data in the file. So, use this for the FIRST directory listing in your session, then for the OTHER two, use :
DIR direct2/*.* >> DIROUTPUT.DIROUTPUT
DIR direct3/*.* >> DIROUTPUT.DIROUTPUT
Using the > symbol twice means 'append the data to the file'.
|