zorro1 Posted March 19, 2007 Posted March 19, 2007 sorry for my englishi have this in my runonce.cmdREG ADD %KEY%\810 /VE /D "ParamŠtres pour Default/All User" /fREG ADD %KEY%\810 /V 1 /D "REG LOAD \"HKU\CUSTOM\" \"C:\Documents and Settings\Default User\NTUSER.DAT\"" /fREG ADD %KEY%\810 /V 2 /D "START /WAIT REGEDIT /S %J%\DefaultUser.reg" /fREG ADD %KEY%\810 /V 3 /D "START /WAIT REGEDIT /S %systemdrive%\key.cmd" /fREG ADD %KEY%\810 /V 4 /D "REG UNLOAD \"HKU\CUSTOM\"" /fwhen i execute, i have this error "START unknow command"Why? And what is correct syntax?Thanks
Yzöwl Posted March 19, 2007 Posted March 19, 2007 Try eitherREG ADD %KEY%\810 /VE /D "Paramtres pour Default/All User"REG ADD %KEY%\810 /V 1 /D "REG LOAD \"HKU\CUSTOM\" \"%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT\""REG ADD %KEY%\810 /V 2 /D "REGEDIT /S %J%\DefaultUser.reg"REG ADD %KEY%\810 /V 3 /D "%SYSTEMDRIVE%\key.cmd"REG ADD %KEY%\810 /V 4 /D "REG UNLOAD \"HKU\CUSTOM\""orREG ADD %KEY%\810 /VE /D "Paramtres pour Default/All User"REG ADD %KEY%\810 /V 1 /D "REG LOAD \"HKU\CUSTOM\" \"%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT\""REG ADD %KEY%\810 /V 2 /D "%COMSPEC% /C START \"\" /WAIT REGEDIT /S %J%\DefaultUser.reg"REG ADD %KEY%\810 /V 3 /D "%COMSPEC% /C START \"\" /WAIT %SYSTEMDRIVE%\key.cmd"REG ADD %KEY%\810 /V 4 /D "REG UNLOAD \"HKU\CUSTOM\""Notice how there is no need for the /f switches. There is no /f switch for REG LOAD and REG UNLOAD, and no need for it in your REG ADD examples.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now