re: Question about 'Print Out a Directory Listing'
Monday, December 15, 2008 at 1:15 am Windows Vista Annoyances Discussion Forum
Posted by William Logan
(2 messages posted)
>I have tried to modify a couple of these tutorials in order to have the file list
placed in a specific location and to pop up in notepad. The problem that I keep
having is that the command box is still on screen behind notepad. Any ideas welcome.
I am giving my registry exports:
>
>
>Windows Registry Editor Version 5.00
>
>[HKEY_CLASSES_ROOT\Directory\Background\shell\copylist]
>@="Create File List"
>
>[HKEY_CLASSES_ROOT\Directory\Background\shell\copylist\command]
>@="cmd /c \\\"dir /b /a /-p /o:g /o:n /o:gen > f:\\downloads\\filelist.txt | notepad
\"f:\\downloads\\filelist.txt\"\""
>
>[HKEY_CLASSES_ROOT\Folder\shell\copylist]
>@="Create File list"
>
>[HKEY_CLASSES_ROOT\Folder\shell\copylist\command]
>@="cmd /c dir \"%1\" /b /a /-p /o:g /o:n /o:gen > f:\\downloads\\filelist.txt |
notepad \"f:\\downloads\\filelist.txt\""
>
>
>Obviously this does not look exactly as it does in regedit.
>
>
>I right-clicked on HKEY_CLASSES_ROOT-Directory-Background-shell and created a new
key "copylist" and giving it the value "Create File List". Under "copylist" I created
another key called "command" with the value "cmd /c \"dir /b /a /-p /o:g /o:n /o:gen
> f:\downloads\filelist.txt | notepad "f:\downloads\filelist.txt"" .
>
>
>Under HKEY_CLASSES_ROOT-Folder-shell I right-clicked and created a new key called
"copylist" with the value "Create File List". Under this 'copylist' I created another
key called "command" and gave it the value "cmd /c dir "%1" /b /a /-p /o:g /o:n
/o:gen > f:\downloads\filelist.txt | notepad "f:\downloads\filelist.txt"".
>
>
>I am directing 'filelist' to be created in the folder 'F:\Downloads'.
>
>
>Like I said, I am only experimenting and if anyone knows what I am doing wrong (command
box still open behind notepad) please let me know. Thanx.
On Wednesday, October 8, 2008 at 6:19 pm, Bill Rose wrote:
>When I use this feature, I can't find the filelisting.txt file. Shouldn't it end
>up in the accessed folder? Sorry I'm late with this. Been busy.
>
>
>
|
All messages in this thread [show all]
 |  |  |  | re: Question about 'Print Out a Directory Listing' (William Logan: Mon, Dec 15, 2008, 1:15 am) |
| |
| |
Return to the Windows Vista Discussion Forum
|
|