I'm testing this script and so far, it seems a nice way to play with custom context menus. However, I'm having trouble getting files to open if they have spaces in the name.
If the file is called d:\1.jpg everything works as expected (It should not looking below), if however, the file is d:\cute kittens.jpg it fails with a file not found error:
If I use Foo One I get an echo but it shows a trailing " at the end of the filename:
I'm testing this script and so far, it seems a nice way to play with custom context menus. However, I'm having trouble getting files to open if they have spaces in the name.
Example with notepad (Foo Two):
If the file is called
d:\1.jpg
everything works as expected (It should not looking below), if however, the file isd:\cute kittens.jpg
it fails with a file not found error:If I use
Foo One
I get an echo but it shows a trailing"
at the end of the filename: