Page 1 of 1

Portable Path and Named Drive not working for me

Posted: 01 Aug 2015 03:42
by Redbeard
Simplified: I have a toolbar button that launches the following command:

Code: Select all

run "?:\Utilities\7-ZipPortable\7-ZipPortable.exe"
which gives me the error:

Code: Select all

"The system cannot find the file specified.
File: ?:\Utilities\7-ZipPortable\7-ZipPortable.exe
Parameters: 
run
?:\Utilities\7-ZipPortable\7-ZipPortable.exe"
Shouldn't that work using ?: for the drive letter xyplorer is running from?
7-ZipPortable.exe does exist at that path
I'm using the latest version of Xyplorer

I've also tried:

Code: Select all

run "NamedDrive:\Utilities\7-ZipPortable\7-ZipPortable.exe"
which also gives me an error even though I have Support volume labels in paths enabled. What am I doing wrong?

Re: Portable Path and Named Drive not working for me

Posted: 01 Aug 2015 07:17
by bdeshi
RUN reference wrote:command: Anything that works in Windows Start | Run, usually a module name plus (optionally) arguments
See, it's analogous to Windows' Run, nothing XYplorer-specific.

Re: Portable Path and Named Drive not working for me

Posted: 01 Aug 2015 07:36
by highend
Use <xydrive>, not "?". "?" would be literal, not a variable.

Help file, Advanced Topics - Variables to see the rest of XY variables.