I would like to reference a file using a Folder Alias as part of the path and where the filename contains spaces. I'm trying to create a simple File Type Context Menu entry that creates a shortcut of the selected file or folder and puts the shortcut in a folder on my desktop. I have created an action under All Files and Folders called Create Shortcut in Media Links with the following command:
Copy MAKELINK TO /desktopdir\Media Links\
This does not work because of the embedded spaces so I tried the following variations:
Copy MAKELINK TO /desktopdir\"Media Links"\
Copy MAKELINK TO "/desktopdir\Media Links"
Copy MAKELINK TO /desktopdir\Media" "Links\
and every other possible combination of quotes and slashes and nothing worked.
I then I tried my own Folder Alias like this:
Media Shortcuts /desktopdir\Media Links\
and, using the CLI, I entered: > go /Media Shortcuts
And this errs even when I used every combination of quotes. So, I changed the Alias to:
MediaShortcuts /desktopdir\Media Links\
and I tried the CLI again with: > go /MediaShortcuts
but it still errs.
Finally, I renamed the folder itself to: MediaLinks
and changed the Alias to: MediaShortcuts /desktopdir\MediaLinks\
Now there are no embedded spaces anywhere and my Folder Alias works: > go /MediaShortcuts
and so does my original command: Copy MAKELINK TO /desktopdir\MediaLinks\
How are you supposed to handle Folder Aliases with either embedded spaces in the name or in the path, neither seem to work?