Windows 7 Forums


Reply
Thread Tools

Folder Actions? to install filelisting?

 
 
VernyAcula50 VernyAcula50 is offline
New Member
Join Date: Oct 2011
Posts: 2
Thanked: 0
 
      10-12-2011
Dont understand where in Win 7 folders, Tools ... File Types, Actions are carried out. I need to install 'filelisting'. Where can I set up Folder Actions?
 
Reply With Quote
 
 
 
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      10-13-2011
If I understand correctly you want the ability to add an extra function like you could in Windows XP. There was the OPEN action and the PLAY action and you could add your own.

But Windows Explorer has changed and this isn't really applicable. If you have a program called "FileListing" then you could associate it to a particular file extension but there can only be one program associated at a time that is the default option (Control Panel\All Control Panel Items\Default Programs\Set Associations).

If the system knows that "FileListing" can process a specific file type then when you right-click on that file type in windows explorer and choose "open with" then that program is offered as an option. So I believe you would have to create a script to associate your program "filelisting" to the extensions it supports and then run it from the context menu.

Basically I think they did away with the option as most people didn't know how to use it anyway and now it would most likely need to be done with a VBS script or two. First to associate the program to the specific file extensions. And then if the "open with" is not easy enough you may want to create a context menu for those file types as well. I'm sure this can all be done because I know programs that do it when installed but I don't know how. You might try the Microsoft Tech Forums.

What does this FileListing program do? What is it you need, really? Maybe it can be done a different way.
 
Reply With Quote
 
VernyAcula50 VernyAcula50 is offline
New Member
Join Date: Oct 2011
Posts: 2
Thanked: 0
 
      10-15-2011
Thanks for the reply: I'm stuck, as I used filelisting extensively in XP - grateful cos on a Mac these things used to be easy. filelisting is a tiny code published by theeldergeek.com, for XP.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      10-15-2011
OK I found what you are talking about HERE. Quite simply it runs a batch "Dir"ectory command on the current folder and sends the output to a text file.

This can be done easily as a "Send To" option but you will need to modify the FileListing.BAT file slightly.

Their example:
dir /a /-p /o:gen >filelisting.txt

My modification. Use this for FileListing.BAT:
dir %1 /a /-p /o:gen >%TEMP%\filelisting.txt

NOTE: In their example they store FileListing.BAT in c:\windows and that is fine if you can access that location but it may be protected depending on your system permissions, so if you can't get to C:\windows it will also work in the root C:\


Now you need to add it to the "Send To" Menu. This is a protected location so to get to it you need to use an environment variable. Paste this into Windows Explorer's path (upper left of the window) and hit enter:
%APPDATA%\Microsoft\Windows\SendTo
Then right-click in an empty spot in the right window pane and choose New > Shortcut
Then hit Browse to locate and select your FileListing.Bat file and then hit OK and Next. In the next window give it a name; you will see this so it should be descriptive (from their example they suggest Create File Listing) and then hit Finish.

You should now have a functioning script and a shortcut to it which looks like:
Folder Actions? to install filelisting?-filelisting.jpg


One final item. The original batch file would store the output to the same directory as the FileListing.BAT file which was C:\Windows but this folder, as I mentioned before, may be protected depending on the users permissions (plus it goes against recommended coding practices for Vista/W7 data) so instead I have it going to the users temporary folder. To access this folder simply enter:
%TEMP%
into Windows Explorer (just as you did for Send To above) and you will find the FileListing.TXT in that folder.

After you have run the BAT file once you can even create a desktop shortcut to this results file. Simply right-click on a blank spot on the desktop and select New > Shortcut but this time type in %temp%\filelisting.txt and hit Next then give it a name such as File Listing Results and hit Finish.

Last edited by TrainableMan; 10-15-2011 at 04:36 PM..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suddenly "This folder is empty" on sharing PC ?? G00k Networking 1 03-29-2011 03:29 AM
How to Install Windows 7 davehc Software 0 08-16-2010 02:50 PM
Tips- Using Grub4Dos install Windows 7 from USB Storage mjb Installation, Setup and Updates 0 06-24-2010 04:48 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 0 12-22-2009 07:03 PM
Clean Install Windows 7 with Upgrade Media Nibiru2012 Installation, Setup and Updates 2 12-04-2009 06:30 PM


All times are GMT +1. The time now is 09:44 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33