Scheduled Tasks and Batch Files

  • Thread starter Thread starter SethGecko
  • Start date Start date
S

SethGecko

Hi !

I have a modified registry entry that keeps changing back to it's default so I use the scheduler to run this command via a batch file

regedit C:\Docume~1\Admini~1\Desktop\SNAPFix.reg

it re-imports the registry settings that I want however I dont know the command to tell the batch file to confirm the YES
when asking "Are you sure you want to import this information into the Registry"

Can Someone Help Please :-)


Thanks!!
 
[/s|-s]
When a filename is specified on the command line, this switch is used to
suppress any informational dialog boxes that would normally be displayed.
This is useful when the Setup program for an application wants to execute
REGEDIT.EXE with a .REG file, but does not want the user to be confused by
any dialog boxes that are displayed.

--
Ramesh Srinivasan
MS-MVP, Windows Shell

Windows XP Troubleshooting
http://www.winhelponline.com

Hi !

I have a modified registry entry that keeps changing back to it's default so
I use the scheduler to run this command via a batch file

regedit C:\Docume~1\Admini~1\Desktop\SNAPFix.reg

it re-imports the registry settings that I want however I dont know the
command to tell the batch file to confirm the YES
when asking "Are you sure you want to import this information into the
Registry"

Can Someone Help Please :-)


Thanks!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top