Skip to content

Instantly share code, notes, and snippets.

@2XXE-SRA
Last active September 27, 2021 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2XXE-SRA/795b4129063d21f6aabf632e0b21a26e to your computer and use it in GitHub Desktop.
Save 2XXE-SRA/795b4129063d21f6aabf632e0b21a26e to your computer and use it in GitHub Desktop.
Batch script to mimic a minimal cmd window
@echo off
setlocal enabledelayedexpansion
set "true=1"
:loop
if defined true (
set /p c="%cd%> "
start !c!
set c=
goto :loop
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment