Connecting Tech Pros Worldwide Forums | Help | Site Map

Windows run command Cmd with another command

Site Addict
 
Join Date: Feb 2007
Posts: 553
#1: Aug 9 '07
Is it possible to do a "Cmd" command with Windows Run along with some other command e.g:

Cmd ipconfig/all

cant do it with the above method.. does anyone know is any command can by run with Cmd together ?

Thanks

epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,313
#2: Aug 9 '07

re: Windows run command Cmd with another command


Quote:

Originally Posted by questionit

Is it possible to do a "Cmd" command with Windows Run along with some other command e.g:

Cmd ipconfig/all

cant do it with the above method.. does anyone know is any command can by run with Cmd together ?

Thanks

u could type in run: 'iconfig /all' and it'll do it, but once its done loading it closes.
u should create a bat file
Site Addict
 
Join Date: Feb 2007
Posts: 553
#3: Aug 9 '07

re: Windows run command Cmd with another command


epots .. thats fine...

but it may be handy.. i've found the method:

cmd /k {another command}



Quote:

Originally Posted by epots9

u could type in run: 'iconfig /all' and it'll do it, but once its done loading it closes.
u should create a bat file

epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,313
#4: Aug 9 '07

re: Windows run command Cmd with another command


Quote:

Originally Posted by questionit

epots .. thats fine...

but it may be handy.. i've found the method:

cmd /k {another command}

yup that works...u learn something new everyday :D
Reply