-
-
Save leoluyi/a98466857f6d934c6e9362a6e3c2e475 to your computer and use it in GitHub Desktop.
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 | |
:: http://weblogs.asp.net/jgalloway/archive/2006/11/20/top-10-dos-batch-tips-yes-dos-batch.aspx | |
echo %%~1 = %~1 | |
echo %%~f1 = %~f1 | |
echo %%~d1 = %~d1 | |
echo %%~p1 = %~p1 | |
echo %%~n1 = %~n1 | |
echo %%~x1 = %~x1 | |
echo %%~s1 = %~s1 | |
echo %%~a1 = %~a1 | |
echo %%~t1 = %~t1 | |
echo %%~z1 = %~z1 | |
echo %%~$PATHATH:1 = %~$PATHATH:1 | |
echo %%~dp1 = %~dp1 | |
echo %%~nx1 = %~nx1 | |
echo %%~dp$PATH:1 = %~dp$PATH:1 | |
echo %%~ftza1 = %~ftza1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment