Desktop shortcut to ipconfig /all?

P

Peabody

I would like to have a shortcut on my desktop to ipconfig.exe with
the additional command line "/all". When I attempt to do this, the
program appears to run, but immediately returns to Windows proper -
it's just a brief flash on the screen.

If it's possible to do this, could someone tell me what the Target
line for the shortcut should say? Thanks very much.
 
R

R. McCarty

Create a batch file with:
Ipconfig/all
Pause
Create a shortcut and modify it's properties for window size &
placement. When run, the batch will execute -showing the info
and then idle on the pause command. Any key press will allow
the batch to finish and exit.
 
B

Bruce Chambers

Peabody said:
I would like to have a shortcut on my desktop to ipconfig.exe with
the additional command line "/all". When I attempt to do this, the
program appears to run, but immediately returns to Windows proper -
it's just a brief flash on the screen.

If it's possible to do this, could someone tell me what the Target
line for the shortcut should say? Thanks very much.


Place "%windir%\system32\cmd.exe /k ipconfig /all" (without the quotes)
in the target field of the shortcut.

--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH
 
P

Peabody

Bruce Chambers says...
Place "%windir%\system32\cmd.exe /k ipconfig /all" (without the quotes)
in the target field of the shortcut.

Thanks Bruce. That works fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top