Create the Dirlist.bat File
To create the Dirlist.bat file:
Click Start, click Run, type the following command, and then click OK:
notepad
Paste the following text into Notepad:
@echo off
dir %1 /o:gn > "C:\Documents and Settings\Owner\My Documents\Dirlist.txt"
exit
On the File menu, click Exit, and then click Yes to save the changes.
In the Save As dialog box, type the following text, and then click Save:
%windir%\Dirlist.bat
Create a New Action for File Folders
Click Start, click Control Panel (or, point to Settings, and then click
Control Panel), and then click Folder Options.
On the File Types tab, click File Folder.
Click Advanced, and then click New.
In the Action box, type:
Directory List
In the Application used to perform action box, type:
Dirlist.bat
Click OK.
Click OK, click OK, and then click Close.