Last active
November 5, 2022 06:08
-
-
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.
This file contains 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
@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