Whats the application? Where does it live - Server side or client? Whats the command line your executing?
Hi,
Trying to run an application when the users logon to the domain and it only works when specifying the full path, but it doesn't work the case I use environtment variables.
I've look on the Internet and I've seen a few sites saying that it's better to use environment variables.
Thanks in advance.
Whats the application? Where does it live - Server side or client? Whats the command line your executing?
Hi Jeff,
Thank you for your answer.
I've created and script to modify the registry key objShell.RegWrite HKCU\Software\Microsoft\Windows\CurrentVersion\Run Once\Communicator withe the path of the communicator.exe %ProgramFiles%\Microsoft Office Communicator\communicator.exe and everything went well. Communicator ran just once as wanted. The registry value has to be a REG_EXPAND_SZ as you're using environment variables and the path within quotation marks.
Thank you.