Resolve absolute path from relative path and/or file name
In batch files, as in standard C programs, argument 0 contains the path to the currently executing script. You can use %~dp0 to get only the path portion of the 0th argument (which is the current script) – this path is always a fully qualified path. You can also get the fully qualified path of … Read more