cmdow @ /HID SETX CDROM %CD:~0,2% -m @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installeren van programma's" /f REG ADD %KEY%\001 /VE /D "Programma's installeren" /f REG ADD %KEY%\001 /V 1 /D "%cdrom%\apps\xplode\xplode.exe /xml:\"%cdrom%\apps\xplode\xplode.xml\"" /f
the setx command is the same as set, but setx saves the enviroment variabele so that it is available even after several reboots and more (thats what the -m is for). i confirmed that the enviroment variabele exists, and even tryed %cdrom% at it's own in a cmd.exe windows, and it works perfect. only, it doesn't work from t-12. do you have a clue



Help

Back to top








