File should be named with a 'type' of .bat

test the process by starting a command window
(start run
cmd
)
and then go to the directory/location where you have that file
and enter the filename as if it were a command

or - use the pause command at the end ( and optionally at the start, and
between the commands)
to stop the processing of the command stream so you can see any displayed
results

Note the release and renew may want a pause after each of them to allow for
the OS to complete the processing associated with those commands

Also - you may want to post any response/output from the commands to a
logfile
in which case to perhaps put the output to a file called whateverthisis.txt
in the location (directory) in which the batch file is,
try (without the JimB):

 ipconfig.exe /release > whateverthisis.txt
 ipconfig.exe  /renew >> whateverthisis.txt
 type  whateverthisis.txt
 pause press a letter key to close this window


JimB

----- Original Message ----- 
From: "Jerry Guritzky" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 11, 2006 9:49 PM
Subject: Re: Batch file on the desktop


> What does a file have to look like when I want it to issue two  commands.
> Like I want to make a .bat file that does the followinig:
> ipconfig /release
> ipconfig /renew
> Thanks, Jerry.
>
> --
>                 ----------------------------------------
> The WIN-HOME mailing list is powered by L-Soft's renowned
> LISTSERV(R) list management software. For more information, go to:
> http://www.lsoft.com/LISTSERV-powered.html
>
>

--
                ----------------------------------------
The WIN-HOME mailing list is powered by L-Soft's renowned
LISTSERV(R) list management software. For more information, go to:
http://www.lsoft.com/LISTSERV-powered.html

Reply via email to