Skip to content

Instantly share code, notes, and snippets.

@benabrahamson
Last active November 5, 2022 06:08
Show Gist options
  • Save benabrahamson/16ebe65f9c8eabdfc2ecb7c92146d5b4 to your computer and use it in GitHub Desktop.
Save benabrahamson/16ebe65f9c8eabdfc2ecb7c92146d5b4 to your computer and use it in GitHub Desktop.
BenWinPrompt is a simple script that acts as a mirror to the Windows Command Prompt, allowing you to access the command line even if it is blocked on the system.
@echo off
break off
title BenWinPrompt
cls
echo BenWinPrompt by Ben Abrahamson
echo ---
echo BenWinPrompt is a simple script that acts as a mirror to the Windows Command Prompt,
echo allowing you to access the command line even if cmd.exe is blocked on the system.
echo ---
PAUSE
echo.
:prompt
set /p prompt="%cd%> "
%prompt%
echo.
goto prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment