set "drive=%~dps0"
help cmd says %~fsI - expands %I to a full path name with short names only
In reply to Re^3: Invoking Perl via batchfile: ampersand in PATH ( this.bat )
by Anonymous Monk
in thread [OT] Invoking Perl via batchfile: ampersand in PATH [Solved]
by Athanasius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |