zorro1 Posted March 19, 2007 Share 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 Link to comment Share on other sites More sharing options...
Yzöwl Posted March 19, 2007 Share 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. Link to comment Share on other sites More sharing options...
zorro1 Posted March 19, 2007 Author Share Posted March 19, 2007 thanks i try the second solution Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now