Cmd 2 Powershell
Moderator: DosItHelp
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Cmd 2 Powershell
Is it possible to execute a powershell command and exit back to cmd?
Re: Cmd 2 Powershell
Yes,
start "title" /wait "CMD" /c "echo.&pause"
echo. %return%
start "title" /wait /b "CMD" /c "echo.&pause"
echo. %return%
start "title" /wait "powershell" "params"
echo. %return%
What do you want to do ?
start "title" /wait "CMD" /c "echo.&pause"
echo. %return%
start "title" /wait /b "CMD" /c "echo.&pause"
echo. %return%
start "title" /wait "powershell" "params"
echo. %return%
What do you want to do ?
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: Cmd 2 Powershell
Good work Ed.
A little integrating between cmd and powershell might be fun.
A little integrating between cmd and powershell might be fun.