here's the reg, make sure the path to the .bat is correct for you...
Originally Posted by ruffstuff
Windows Registry Editor Version 5.00
@="cmd /c C:\\Windows\\myBat\\copypath.bat \"%1\""
in reg-files, the '\' is qualified, so c:\program files becomes C:\\program files
The batch file (for me, so I can run as command like notepad, mspaint, calc... without path edits) is stored @
copypath.batIf you want, you can put the .bat anywhere... you can put a (shortcut to the .bat) .lnk in C:\windows subdir
(ie C:\Windows\mySysLnks) and change the lnk's properties so it runs minimised (no visible cmd-prompt : )