%0, %~0, %~f0, %~dp0 in bat file

In windows bat file, %0, %1,…, %9 are the first, second, …, tenth parameter of the command line. The first parameter is the command itself. Suppose the bat file is test.bat that has the following command:

To view this content, you must be a member of Thomas's Patreon at $5 or more
Already a qualifying Patreon member? Refresh to access this content.
Posted in

Leave a Reply