A DOS like window opens and at the flashing prompt type cd then a space and type in the path and name of the folder – in my example the folder is called ‘Pix’, so the first line looks like this:
cd C:\Pix
If you used the Copy trick simply right-click on the flashing prompt and select Paste.
Now press Enter and the cd (change directory) command changes the display to show the path and name of your folder, thus:
C:\Pix>
Now at the flashing command prompt type the following:
dir /b > c:\listfolder.txt
Press Enter and a file called listfolder.text appears in the root directory of your C: drive; open it in Word or double click on it and Notepad displays a text file listing the contents of your chosen folder.
For those who may be interested, ‘dir’ is the Directory list command, ‘/b’ tells it to omit the file’s time, date and size information and the forward arrow or greater than symbol (>) tells it to send the information into the file called listfolder.text
0 comments:
Post a Comment