C$SYSTEM and C$RUN
Was wondering if you can help me figure out if this is a limitation of the C$SYSTEM and C$RUN.
I want our application to open a web browers and continue on (have it run on it's own).
If I put in the path (e.g. "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" url) all is good when I call C$RUN or C$SYSTEM.
The problem occurs when we replace 'C:\Program.....' with 'START CHROME url'.
When using C$RUN it comes back with a status -1 (error occurred).
Using the same command in DOS (e.g. start chrome http://google.ca), it works fine.
Thanks in advance!!
RE: C$SYSTEM and C$RUN
START is one of those special built-in shell commands in Windows. You would need something like this:
USING 'START "" chrome "google.com"',
If you are in a thin client type of environment, you should add the @[DISPLAY] to the command line:
USING '@[DISPLAY]:START "" chrome "google.com"',