Re: Oh for an autoexec.bat!

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Roy (roydotcandler_at_ntlworld.com)
Date: 01/08/05


Date: Sat, 8 Jan 2005 17:39:25 -0000

Thanks folks, but what I was after was a way of running said batch file
automatically so that I would not have to call it up each time I opened a
command window, which I usually do by clicking on the icon. I have had a
little playaround with your suggestions, but have not made any progress.
Some thought needed on my part, obvioiusly. Not to worry, I'll keep trying
when I get the time - meanwhile it's no great hardship to type in three
letters before doing any work in the command window.

Cheers, and thanks again,
Roy

"David Candy" <.> wrote in message
news:OuYbSQa9EHA.2180@TK2MSFTNGP12.phx.gbl...
Can't you look in properties and do exactly what you want. I could.

-- 
----------------------------------------------------------
http://www.uscricket.com
"Lanwench [MVP - Exchange]" 
<lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> wrote in message 
news:ORx69Ma9EHA.1408@TK2MSFTNGP10.phx.gbl...
> Roy wrote:
>> In the days when I ran Win95, I added some lines in autoexec.bat to
>> give me some additional DOS commands using DOSKEY.  Since moving to
>> Win2000 (for work) and XP (home) I can't do this as there ain't no
>> DOS.  For using the NT-style command window, I use a batch file with
>> the extras in which I can call up with one short command - but I have
>> to do this every time I open a cmd window.
>>
>> Before you ask, I have read the NT manual and not found a solution in
>> there. XP is presumably the same.
>>
>> Roy
>
> Can't you just make a shortcut to your batch file and use that instead of
> launching a command prompt window using cmd? If the batch file is in a
> folder included in your path statements, you could easily do this by using
> start | run <filename> - or just click a shortcuut.
>
> 


Relevant Pages

  • Re: Cant schedule a batch file to run in the XP Pro Scheduler
    ... command window or a shortcut on the desktop. ... > If the bat file does not work from cmd, how will it work by scheduling it? ... Examples of Backup Batch ... The Partner who installed it wrote a batch file, which works fine, ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Preserve Clipper error messages on screen
    ... batch file which launches the application. ... the XP command window closes and the user is returned ... If the program bombs, I am able ...
    (comp.lang.clipper)
  • Re: Logging off session after closing application
    ... but if I run the batch file from within the ts session ... logoff the session before it comes up... ... > Could you try it in a command window? ...
    (microsoft.public.windows.terminal_services)
  • Re: backup batch file
    ... Have you run the Backup call from a Command Window and looked at the ... SBS 2000: microsoft.public.backoffice.smallbiz2000 ... > I want to create a batch file in SBS 2003 to perform a nightly backup ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Kill an invisible batch file started by VBScript
    ... if you have a bat file run the other bat file, the cmd window will stay open ... the cmd window and that will kill the process. ... > Can anyone tell me how to kill a batch file that is started invisibly ... > running in the background doesn't die until after that script is run, ...
    (microsoft.public.scripting.vbscript)