Run automatically batch file when open Windows XP command prompt

1. First open the Registry Editor Regedit.exe.

2. Then go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor key.

3. Double Click the AutoRun value to access the Edit String dialog box.

4. In the Value Data text box-  type your .BAT file path with name.
   But path text enclose with double quotes.
   Example - “C:\Documents and Settings\Mydoc\Sample.bat”

5. Click OK and close the Registry Editor.

Now your batch file will automatically run every time when you open the command prompt window.

0/Post a Comment/Comments

Please write here your valuable comment.

Previous Post Next Post