|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| How to Run Automatic Commands in run/cmd window I'd like windows xp to run a bat file (automatically) everytime I open up a dos window - which I usually do by clicking on a little dos window icon in my task bar. Possible? Thanks, Robert |
| |||
| Re: How to Run Automatic Commands in run/cmd window
__________________ http://surrotech.com/ |
| |||
| Re: How to Run Automatic Commands in run/cmd window robert wrote: > I'd like windows xp to run a bat file (automatically) everytime I open up a > dos window - which I usually do by clicking on a little dos window icon in my > task bar. > Possible? Hi Robert Yes, this is very possible! You need to create a Autorun value under the "Command Processor" key in the registry. Then give this value the name of your batch file (full path name, eg "C:\Foo\bar\myfile.bat"). You can do this under HKEY\LOCAL_MACHINE to make it apply to all users; or if you want it only for your own user context, you can define it under HKEY_CURRENT_USER. See here for full details: http://www.microsoft.com/resources/d....mspx?mfr=true Hope it helps, Andrew -- amclar at optusnet dot com dot au |
| |||
| Re: How to Run Automatic Commands in run/cmd window "robert" <robert@discussions.microsoft.com> wrote in message news:3CF86582-AB83-4B0E-8AD7-18D725E7CD75@microsoft.com... > I'd like windows xp to run a bat file (automatically) everytime I open up > a > dos window - which I usually do by clicking on a little dos window icon in > my > task bar. > > Possible? > > Thanks, > Robert The shortcut for your Command Prompt currently reads like so: %systemroot%\system32\cmd.exe Now modify it like so: %systemroot%\system32\cmd.exe /k c:\Tools\Robert.bat That's all there is to it! |
| |||
| Re: How to Run Automatic Commands in run/cmd window That works! Thanks, Robert >"Pegasus [MVP]" wrote: > The shortcut for your Command Prompt currently reads like so: > > %systemroot%\system32\cmd.exe > > Now modify it like so: > > %systemroot%\system32\cmd.exe /k c:\Tools\Robert.bat > > That's all there is to it! |
| |||
| Re: How to Run Automatic Commands in run/cmd window "robert" <robert@discussions.microsoft.com> wrote in message news:83467A69-954D-4E82-81FE-7BA7597A8697@microsoft.com... > That works! > > Thanks, > Robert Thanks for the feedback. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: commands in command window not functioning | thank_u | Windows XP | 1 | 10-12-2009 05:20 AM |
| Voice Recognition/Commands, Disable Automatic Mouse Movements | JeffersonKim | Windows Vista | 0 | 04-29-2008 10:50 AM |
| Commands not recognized in cmd window | Rusty | Windows XP | 3 | 10-19-2007 07:00 AM |
| Mouse automatic activitation of commands | Mike Felix | Windows Vista | 0 | 05-23-2007 10:20 AM |
| Commands in command window | MS | Windows XP | 6 | 01-23-2007 11:15 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |