Running Command Line at startup

I would like to know how I can run a couple of command line commands at startup. I need to use ipconfig /release and /renew when I log on as my cable modem won't work until I do. Something slightly incompatible between my ISP and Win2K (they sa...




Topic Options
#56709 - 09/27/00 10:34 AM Running Command Line at startup
lakeryan Offline
stranger

Registered: 09/27/00
Posts: 4
I would like to know how I can run a couple of command line commands at startup. I need to use ipconfig /release and /renew when I log on as my cable modem won't work until I do. Something slightly incompatible between my ISP and Win2K (they say). I've made a .BAT file called STARTUP.BAT and I dragged a shortcut for it to the Startup group. However, it doesn't seem to work although if I click on the shortcut after the machine has finished starting up, it does what I want. Can anyone suggest what I may have done wrong?

Top
Advertisement
#56710 - 09/27/00 12:26 PM Re: Running Command Line at startup
nagual Offline
enthusiast

Registered: 05/09/00
Posts: 221
either add the lines in autoexec.bat or make a bat and add a shortcut to it in start -> programs -> startup
?

Top
#56711 - 09/28/00 01:59 AM Re: Running Command Line at startup
lakeryan Offline
stranger

Registered: 09/27/00
Posts: 4
Thanks for the reply. I assume that the question mark meant that you couldn't understand why I was having a problem. However, I wasn't even aware that AUTOEXEC.BAT was supported by Windows 2000. After looking it up in the Help, I found that it seemed to be used to set environment variables only and that AUTOEXEC.NT in SYSTEM32 was used to run "DOS" applications. I tried putting my commands in both of these files including the full path to the executable and still had no luck. I then went back to my shortcut in the Startup group making it run full screen at which point I found that it did run. The problem would appear to be that something that happens as the last thing in the logon is causing the foul up with my ISP. This means that I have to run the BAT file after log on is finished and it then works. At least I know that what I tried in the first place is correct for running commands as part of startup. It just doesn't work in this instance.

Top
#56712 - 09/28/00 07:30 AM Re: Running Command Line at startup
ThC 129 Offline
veteran

Registered: 12/06/99
Posts: 1578
well i would ***** at your ISP for being lackeys and not even supporting w2k. Who knows maybe by time Blackcomb is out they will finally institute W2k support.

Top
#56713 - 09/28/00 11:55 AM Re: Running Command Line at startup
lakeryan Offline
stranger

Registered: 09/27/00
Posts: 4
Trouble is, the choice of broadband is quite limited down here so I have to take what I can get with Chello. It is an improvement on a 56K modem when it is running. It used to run with Win2K but they made some "enhancements" to the service a short time back and it hasn't worked properly since!

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Need an database for Dictionary
by shaanspecial
Today at 10:19 AM
Router keeps disconnecting internet
by rfboyd
12/06/09 04:18 PM
Program Running When Starting Computer
by cbk
12/05/09 11:05 AM
System Crashing Error 1000008e, 1000000a, 0000004e
by PapaPrem
11/30/09 06:01 PM
Starcraft Broodwar Campaign Crash Problem
by Lurker02
11/30/09 12:33 PM
Who's Online
1 Registered (Myke), 248 Guests and 46 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91288 Members
24 Forums
58565 Topics
189070 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22