I am writing a .batscript for Windows. Is there any command that I can use in a script to extract the directory where the script is located?
.bat
from: http://ss64.com/nt/cd.html
In a batch file to display the location of the batch script file (% 0)
ECHO "% ~ dp0"
echo% CD%
must work
Source: https://habr.com/ru/post/1747344/More articles:IPhone / iPad rotation - objective-cОбновление изображения ImageUrl в репитере - c#The best and shortest books in C ++ / STL / C # / J2SE to prepare for work inteview / tests - c ++How good is the circular memory buffer on Wikipedia? - cplaying mp3 file using jquery - javascriptWPF, White and Infragistics - testing projectwhy can't we initialize the servlet using the constructor itself? - javaОтображение таблиц из существующей базы данных в объект - подходит ли Hibernate? - javaHTML Why do iframe contents load twice? - htmlCSS line break in TD - cssAll Articles