How to open command prompt from powershell -


i new powershell.
can body please explain me how open command prompt powershell.

i want open command prompt , run dir command

is possible use new-object -comobject this???

dir built powershell. it's alias get-childitem. open powershell prompt start menu (all programs --> accessories if you're on xp, search on higher versions of windows), , type dir , press enter. works dir command prompt command.

a com object overkill. if really, need use command prompt within powershell, run cmd. launch instance of command prompt in current window.


Comments