1466 shaares
2 private links
2 private links
You can reference the executable directly using a UNC path wrapped in quotes, such as
"\server\share\path\file.extention"
The \ at the beginning denotes it's a UNC path wrapping it in quote sis just good practice in case there are any spaces in the path.
"\domain.com\folder\test.exe" will work UNLESS the test.exe file needs to have it's cmd environment local to the program itself because it doesn't properly set itself on run.
in which case you might prefer to use:
MKLINK /D "C:\Link" "\domain.com\folder"
CD "C:\Link"
test.exe
OR
net use y: "\domain.com\folder"
CD /D "Y:\"
test.exe