batch for registry
Moderator: DosItHelp
batch for registry
HI ALL
i have aproblem with batch
reg ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "wrar1" /t "REG_SZ" /d "C:\Documents and Settings\user1\desktop\wrar.exe"
it is working in prompt but in batch do not work
what is wrong ??
thanks.
i have aproblem with batch
reg ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /f /v "wrar1" /t "REG_SZ" /d "C:\Documents and Settings\user1\desktop\wrar.exe"
it is working in prompt but in batch do not work
what is wrong ??
thanks.
Re: batch for registry
What error message did you get?
Regards
aGerman
Regards
aGerman
Re: batch for registry
no message
the window appear then go
i do not why
the window appear then go
i do not why
Re: batch for registry
Append a PAUSE command
Regards
aGerman
Code: Select all
@echo off
reg ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "wrar1" /t "REG_SZ" /d "C:\Documents and Settings\user1\desktop\wrar.exe" /f
pause
Regards
aGerman
Re: batch for registry
sorry
the same result
window appear then go
have any idea
the same result
window appear then go
have any idea
Re: batch for registry
No idea. It works for me.
Regards
aGerman
Regards
aGerman
Re: batch for registry
my dos version 5.1.2600
maby must be anthor version
maby must be anthor version
Re: batch for registry
No, that's your Windows version. It means "Windows XP" and thats why it should work.
Regards
aGerman
Regards
aGerman