Scheduled Tasks and Batch Files



SethGecko
07-10-2005, 02:20 AM
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!!

Ramesh, MS-MVP
07-10-2005, 02:20 AM
[/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

"SethGecko" <sethgecko@webmail.co.za> wrote in message
news:X5adnaZUNcTMDzjfRVn-1w@is.co.za...
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!!


Scheduled Tasks and Batch Files