Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ECHO OFF
- REM This is a work around for workplaces that do not allow execution of cmd.exe bu do allow
- REM batch scripting, for anything like managing the internet to configuring printers, etc.
- REM the following code, compatible with WIN95+ ;p
- REM I don't think this is worth anything like license protecting it, but i suppose it is
- REM covered under the GPL 3 license.
- :BEGIN
- IF "%%a%%" == "exit" GOTO END
- GOTO EVAL
- :EVAL
- echo/|set /P ="%%cd%%> "
- set a = %=%
- %a%
- GOTO BEGIN
- :END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement