Connecting Tech Pros Worldwide Help | Site Map

Windows run command Cmd with another command

  #1  
Old August 9th, 2007, 04:25 PM
Site Addict
 
Join Date: Feb 2007
Posts: 553
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
  #2  
Old August 9th, 2007, 04:37 PM
epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,314

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
  #3  
Old August 9th, 2007, 04:43 PM
Site Addict
 
Join Date: Feb 2007
Posts: 553

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
  #4  
Old August 9th, 2007, 04:44 PM
epots9's Avatar
Moderator
 
Join Date: May 2007
Location: Canada
Posts: 1,314

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