Что означает% ~ d0 в командном файле Windows?

Я смотрю на командный файл, который определяет следующие переменные:

set _SCRIPT_DRIVE=%~d0
set _SCRIPT_PATH=%~p0
What do %~d0 or %~p0 actually mean? Is there a set of well-known values for things like current directory, drive, parameters to a script? Are there any other similar shortcuts I could use?

Ответы на вопрос(9)

Ваш ответ на вопрос