I added a new item to context menu lets call it "Test", what I want to do is that when i right click on a file or folder, then select this "Test" button from context menu, it will run a powershell script that copies file/folder to locations based on file extensions or folder names.
I need help on [How to pass the mouse selected item into my powershell script ? ]
I am not sure if I made myself clear, example will be if I select file.txt by mouse then right click on it then select "TEST" button from context menu to run my powershell script for copying this file to a location, how can I pass this selected "file.txt" with full path into my powershell script?
If powershell wont work, how about vbs?
Context menu modification will be on
for Folder Menus
HKEY_CLASSES_ROOT\Directory\shell
for All File Types
HKEY_CLASSES_ROOT\*\shell