Created
August 31, 2018 12:41
-
-
Save hook-s3c/8aadeb98587df63c8db3daa799a2633f to your computer and use it in GitHub Desktop.
run cmd interactively
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # thanks to - https://twitter.com/mwulftange/status/1034689855010353152 | |
| If you're not allowed to run cmd.exe interactively but `cmd /c …` works, this `cmd /c` based REPL may be helpful: | |
| cmd /c for /l %i in (0,0,1) do cmd /c "set /p C=^> & cmd /c %C%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment