First of all you would need to create the bat file. to do what you want. Keeping in mind that the "%1" variable will hold the directory path when it is run. So if say you wanted to list the directory for it you would issue the command
in the bat file.
Once the bat file is done.
Open Windows Explorer to any folder and go to tools Folder Options, Select the File Types Tab. And then you'll want to click on Folder and File Folder types and do the following on each.
Click Advanced-> then click on New to add a new action for the type. Give it a name, (that's the one that will appear on the right click menu) and add your BAT file to it.
[red]
NOTE:Be careful to do it right the first time as you wont be able to remove it afterwards unless you go into the Registry and alter the type there.[/red]
Do the same for both types. and o.k your way out.
Right click on any folder and you should have a new Action as defined by you.
[red]Warning: If for some strange reason you loose the ability to open the folders by double clicking them and instead get the Search companion. Do the following to restore it:
[/red]
That should maintain the new option in the Right click menu, and the Folder should work normally.
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.