How do I find the current directory of a batch file, and then use it for the path?
There is no need to know where the files are, because when you launch a bat file the working directory is the directory where it was launched (the “master folder”), so if you have this structure: .\mydocuments\folder\mybat.bat .\mydocuments\folder\subfolder\file.txt And the user starts the “mybat.bat”, the working directory is “.\mydocuments\folder”, so you only need to write … Read more