SyntaxFix
Write A Post
Hire A Developer
Questions
Suppose there's a file test.txt in Root Folder, and want to move it to \TxtFolder,
test.txt
\TxtFolder
You can try
move %~dp0\test.txt %~dp0\TxtFolder
.
reference answer: relative path in BAT script