|
Answer» i want to put a file in the regedit= "C:/Xtm.exe" and im wondering if its possible to have an *.bat extension? i want to put the files under "HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Run"
the boot registry directory correct my spelling Generally this has to do with how you want to accomplish the TASK. If you want to write a batch file, CHECK out reg add /? from your COMMAND prompt.
If you want to write a VBScript, check out this article New Registry Key, SAVE your script with a vbs extension. VBScripts can be run in a command window using either cscript or wscript as the processor: cscript scriptname.vbs
Before making any changes to the registry be sure to make a backup. It's possible to hose a system changing the registry manually, a script can hose a system LIGHTNING quick.
Good luck. 8-)Quote Generally this has to do with how you want to accomplish the task. If you want to write a batch file, check out reg add /? from your command prompt.
If you want to write a VBScript, check out this article New Registry Key, save your script with a vbs extension. VBScripts can be run in a command window using either cscript or wscript as the processor: cscript scriptname.vbs
Before making any changes to the registry be sure to make a backup. It's possible to hose a system changing the registry manually, a script can hose a system lightning quick.
Good luck. 8-)
Thank you! 8-)
|