T
Thomas M.
Windows XP SP3
I have the following in a .REG file:
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="0"
I am just using this value as a test and I toggle it between 0 and 1.
I would like to develop a batch file that runs the .REG file
silently. Toward that end, I have placed the following command in a
batch file:
regedit.exe /s AutoEndTasks.reg
This works if I type it at the command prompt. However, if I put it
in a batch file and then run that batch file from the command prompt,
I get the following error:
C:\>â– r
'â– r' is not recognized as an internal or external command,
operable program or batch file.
I have made sure that REGEDIT.EXE and the .REG file are both found in
the path.
My understanding is that what I want to accomplish--using the batch
file to run the .REG file silently--should be doable. I just can't
figure out why it doesn't work.
Any help will be greatly appreciated!
--Tom
I have the following in a .REG file:
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="0"
I am just using this value as a test and I toggle it between 0 and 1.
I would like to develop a batch file that runs the .REG file
silently. Toward that end, I have placed the following command in a
batch file:
regedit.exe /s AutoEndTasks.reg
This works if I type it at the command prompt. However, if I put it
in a batch file and then run that batch file from the command prompt,
I get the following error:
C:\>â– r
'â– r' is not recognized as an internal or external command,
operable program or batch file.
I have made sure that REGEDIT.EXE and the .REG file are both found in
the path.
My understanding is that what I want to accomplish--using the batch
file to run the .REG file silently--should be doable. I just can't
figure out why it doesn't work.
Any help will be greatly appreciated!
--Tom