Getting the file length in the Windows XP/W2K batch-file
for %%I in (c:\autoexec.bat) do set SZ=%%~zI
echo %SZ%
for %%I in (c:\autoexec.bat) do set SZ=%%~zI
echo %SZ%
at 14:59 0 comments
Labels: command-line, computers, windows
for %%I in (.) do set CWD=%%~fI
echo %CWD
at 14:54 0 comments
Labels: command-line, computers, windows