I am having big problems when trying to execute a file during installation. The file path contains spaces. It works fine in Windows XP and 2000 but fails in Win NT (SP4).
I managed to eliminate the spaces from all other paths but the Working Directory and still it does not execute. I tried to use it like this "%AppDir\util" or '%AppDir\util' or without quotation marks of any kind.
The file i'l launching is a Java utility which installs a windows service. It needs command line arguments, which is a path to a properties file with arguments, as well as the path to the Java.exe file and the working directory. The working directory is the same as the where the properties file is
How can i create a Path including spaces which works in NT, 2000 and XP?
cheers
Tom
I managed to eliminate the spaces from all other paths but the Working Directory and still it does not execute. I tried to use it like this "%AppDir\util" or '%AppDir\util' or without quotation marks of any kind.
The file i'l launching is a Java utility which installs a windows service. It needs command line arguments, which is a path to a properties file with arguments, as well as the path to the Java.exe file and the working directory. The working directory is the same as the where the properties file is
How can i create a Path including spaces which works in NT, 2000 and XP?
cheers
Tom
Comment