Vist Shell Extension

D

Doug

Based on: http://www.theeldergeek.com/file_list_generator.htm
and using regedit, I have modified HKEY_CLASSES_ROOT\Folder\shell
by adding \File_List\Command\
with default value data:
"C:\WINDOWS\filelist.bat" (without quotes),
which file contains the single line:
"dir /a /b /-p /o:gen >filelist.txt" (again without quotes).

This worked consistently in XP showing the dir listing in the selected
folder. However in Vista it only works sporadically, and, when successful,
then, it sometimes puts the result for a folder I have not selected in yet
another folder not of my choosing. Is there some token (if that's the right
word) I can use to indicate that the selected folder in the left hand
directory tree pane IS the folder to be listed EVERY TIME and that the
result is to go in the specific folder of my choosing (current folder or its
parent or the desktop or whatever)? I just want it to work predictably and
consistently as it did under XP - Doug
 
J

Jon

Doug said:
Based on: http://www.theeldergeek.com/file_list_generator.htm
and using regedit, I have modified HKEY_CLASSES_ROOT\Folder\shell
by adding \File_List\Command\
with default value data:
"C:\WINDOWS\filelist.bat" (without quotes),
which file contains the single line:
"dir /a /b /-p /o:gen >filelist.txt" (again without quotes).

This worked consistently in XP showing the dir listing in the selected
folder. However in Vista it only works sporadically, and, when successful,
then, it sometimes puts the result for a folder I have not selected in yet
another folder not of my choosing. Is there some token (if that's the
right word) I can use to indicate that the selected folder in the left
hand directory tree pane IS the folder to be listed EVERY TIME and that
the result is to go in the specific folder of my choosing (current folder
or its parent or the desktop or whatever)? I just want it to work
predictably and consistently as it did under XP - Doug

You may be running into problems with writing to system directories, which
tends to be frowned upon with Vista, and is liable to either fail
unceremoniously, or result in file virtualization, which is possibly what
you're witnessing..
 
R

Ramesh, MS-MVP

Doug,

Perhaps you can create the output file in the %temp% folder and try. See:

How to add the Print Directory feature for file system folders in Windows Vista:
http://www.winhelponline.com/articles/206/1/

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Based on: http://www.theeldergeek.com/file_list_generator.htm
and using regedit, I have modified HKEY_CLASSES_ROOT\Folder\shell
by adding \File_List\Command\
with default value data:
"C:\WINDOWS\filelist.bat" (without quotes),
which file contains the single line:
"dir /a /b /-p /o:gen >filelist.txt" (again without quotes).

This worked consistently in XP showing the dir listing in the selected
folder. However in Vista it only works sporadically, and, when successful,
then, it sometimes puts the result for a folder I have not selected in yet
another folder not of my choosing. Is there some token (if that's the right
word) I can use to indicate that the selected folder in the left hand
directory tree pane IS the folder to be listed EVERY TIME and that the
result is to go in the specific folder of my choosing (current folder or its
parent or the desktop or whatever)? I just want it to work predictably and
consistently as it did under XP - Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top