R
RedLars
Flightless Bird
Opening a console window (click start->run and type "cmd") and typing
the following starts my application
DefineVariables.bat&&start /D%_HOME_APP% AMain.exe -ip 127.0.0.1
I would like to add this set of operations to a shortcut with a nice
looking icon so I tried modifying it slightly and insert the below
into a shortcut but it does not work.
%windir%system32\cmd.exe /K Cdev\DefineVariables.bat&&start /D
%_HOME_APP% AMain.exe -ip 127.0.0.1
but then I get "Windows cannot find 'AMain.exe'. Make sure you typed
the name correctly, and then try again. To search for a file..."
Have tried using different parameters but it has not made any
difference.
Inside DefineVariables.bat _HOME_APP is defined like this
set _HOME_APP="%PROGRAMFILES%\Abb version2\bin"
Any ideas why this does not work?
the following starts my application
DefineVariables.bat&&start /D%_HOME_APP% AMain.exe -ip 127.0.0.1
I would like to add this set of operations to a shortcut with a nice
looking icon so I tried modifying it slightly and insert the below
into a shortcut but it does not work.
%windir%system32\cmd.exe /K Cdev\DefineVariables.bat&&start /D
%_HOME_APP% AMain.exe -ip 127.0.0.1
but then I get "Windows cannot find 'AMain.exe'. Make sure you typed
the name correctly, and then try again. To search for a file..."
Have tried using different parameters but it has not made any
difference.
Inside DefineVariables.bat _HOME_APP is defined like this
set _HOME_APP="%PROGRAMFILES%\Abb version2\bin"
Any ideas why this does not work?