|
|
|
re: Shortcut to ipconfig?
Saturday, August 20, 2005 at 6:00 pm Posted by Wildcat
(1314 messages posted)
Windows
XP Powertoys Mozilla Firefox
98Lite (minimal Win98/98SE) & XPLite
Type the text in bold AS IS as target for the shorcut: cmd.exe /k "%SystemRoot%\SYSTEM32\IPCONFIG.EXE"
Falcon's
Malware Removal Microsoft Knowledge
Base Search
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, August 20, 2005 at 6:03 pm Posted by Wildcat
(1314 messages posted)
Windows
XP Powertoys Mozilla Firefox
98Lite (minimal Win98/98SE) & XPLite
PS: The Windows NT Command Console is a Win32 console application. IT IS NOT MS-DOS,
I REPEAT, IT IS NOT MS-DOS!, except .com programs and non-PE .exe programs.
Falcon's
Malware Removal Microsoft Knowledge
Base Search
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, August 20, 2005 at 7:29 pm Posted by Justin
(4 messages posted)
Here it is, the simple way.
Right Click Empty Space on Desktop-->New-->Shortcut. Type "cmd /k ipconfig.exe"
Click Next and name the shortcut. That's it.
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, August 20, 2005 at 9:13 pm Posted by Wildcat
(1314 messages posted)
Windows
XP Powertoys Mozilla Firefox
98Lite (minimal Win98) & XPLite
The same. (Without the IPCONFIG path, which makes it more ambiguous. %SYSTEMROOT%
is a env. variable for \SystemRoot, usually a symlink to \Devices\Harddisk0\Partition1\Windows
or \Devices\Harddisk0\Partition1\WINNT, in the NT object tree. With SystemRoot\System32
in the cmdline, an incorrect file reference is impossible, e.g.: if a malware IPCONFIG.EXE
is in \SystemRoot, the good will be loaded from \SystemRoot\SYSTEM32 using my method.)
Microsoft Knowledge Base
Search
Wise words: Get Firefox!
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, January 5, 2008 at 9:17 am Posted by Jeff
(2 messages posted)
What does the /k option do?
Also, say I want to create a shortcut for ip release and renew - but I want the commands
to execute subsequently in the same window?
I know I can create a bat file like the shortcut however, I am not sure how to enter
the second statement so it executes in the same cmd window.
On Saturday, August 20, 2005 at 7:29 pm, Justin wrote:
>Here it is, the simple way.
>Right Click Empty Space on Desktop-->New-->Shortcut. Type "cmd /k ipconfig.exe"
>Click Next and name the shortcut. That's it.
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, January 5, 2008 at 9:28 am Posted by Jeff
(2 messages posted)
answer to my own questions :)
create a .bat file but do not use the cmd command
@echo off
ipconfig /release
ipconfig /flushdns
arp -d
ipconfig /renew
ipconfig /all
pause
the pause is what i was looking for , it allows u to see the output and hit any key
the flushdns and arp -d are optional
you can either create a shortcut to the batch file or put it directly on the desktop
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, January 5, 2008 at 9:35 am Posted by MartinM
(5115 messages posted)
Yes, and just in passing:
/C
Loads cmd.exe into memory, executes the command you specify after the '/C' and
then ends the session.
/K
Just the same as /C except the session isn't terminated.
[Reply or follow-up to this message]
|
re: Shortcut to ipconfig?
Saturday, January 5, 2008 at 11:13 am Posted by Steve Dunn
(924 messages posted)
You can always use the gui - wntipcfg - instead of course (just google for it).
On Saturday, August 20, 2005 at 5:53 pm, Scott wrote:
>How can I create a desktop shortcut to the ipconfig command in ms dos?
[Reply or follow-up to this message]
| |
Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
| |
Return to the Windows XP Discussion Forum
|
|
|
|