Run a batch file that will add a line to the registry run once or run
The batch file that adds a registry key would look like :
start /w regedit /s d:\rescue\HWinst.reg
The reg file will look like :
When the machine starts it will run the specified batch file .
In this case it will run every time you start the machine
If instead of "Run" you will put use "RunOnce" , the key will disappear the
next time .
From: g_m_s [mailto:gray.strickland@...
Sent: Monday, May 12, 2003 8:47 PM
Subject: [BATCH WORLD] Run Once
Can anyone point me to resources about writing "run once"
batches/scripts. By this, I mean a batch/script which will run on the
next reboot of a pc *only*.
My particular need is to create batches/scripts to run on Win2000
Servers which contain this command:
Net Send * %variable%
To Post a message, send it to: batchworld@...
To Unsubscribe, send a blank message to: batchworld-unsubscribe@...
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/