Variable Expansion (eg. %systemroot%)

Author Message
Luke H 08/26/2006 02:49 pm
Hello,
I recently moved one of my programs to the controlled startup section, and it stopped working properly. The program contained a parameter that referenced a system variable %systemroot%. The command line is:

C:\Program Files\ERUNT\AUTOBACK.EXE %systemroot%\ERDNT\AutoBackup\#Date# /noconfirmdelete /days:7

This used to work but now it seems like SO does not expand the %systemroot% properly and thus the destination is not set properly.

Is this something that can be added/fixed? thanks.
Oleg Chernavin 08/26/2006 02:54 pm
I cannot check this right now. Can you please expand the variable manually for now. I will work on this and it will be done in the next version.

Best regards,
Oleg Chernavin
MP Staff
Luke H 08/28/2006 02:44 am
Yes I have expanded the variable and it works again. But sometime down the road this would be good to fix. Thank you.
Oleg Chernavin 09/12/2006 04:56 am
I added support for this variable. Please download the updated ctrl.exe file and unzip it to replace the previous file.

http://www.metaproducts.com/download/betas/CTRL.ZIP

Please let me know how it works. Thank you!

Oleg.