Tag Archive: Scripting


The %~dp0 Variable

The %~dp0 (that’s a zero) variable when referenced within a Windows batch file will expand to the drive letter and path of that batch file.
Continue reading

Advertisements

Windows Command Line Workaround

Let’s suppose you’re working at a Windows computer and you want to do something from the command prompt.  Let’s further suppose that the computer is locked down pretty well, including denying users permission to run cmd.exe and disabling use of the Run dialogue box. Continue reading