Incorrect working directory with context menu entries
Posted: 12 Jun 2008 00:13
XYplorer seems to set an incorrect working directory when launching context menu shorcuts. Easy to reproduce -
1. in regedit create a new key under HKCR\*\Shell called "test"
2. create another key under that called "command"
3. set the default value of the "command" key to simply "cmd"
Right-click any file in Windows Explorer and choose "test". It should open a command window with the current directory set to the location of your file (type "cd" to verify).
Now try it in XYplorer and the directory that opens is "C:\Program Files\XYplorer". Obviously this is not good for programs that expect a specific working directory when launched via context menu.
1. in regedit create a new key under HKCR\*\Shell called "test"
2. create another key under that called "command"
3. set the default value of the "command" key to simply "cmd"
Right-click any file in Windows Explorer and choose "test". It should open a command window with the current directory set to the location of your file (type "cd" to verify).
Now try it in XYplorer and the directory that opens is "C:\Program Files\XYplorer". Obviously this is not good for programs that expect a specific working directory when launched via context menu.