As the title states, I am trying to call a batch file within a batch file but from a different folder that the starting batch file was in. So for example,
Test Folder 1
Test Folder 2
I have test.bat in Folder 1, and I want to run the test.bat in folder 1 to be able to call another .bat file from Test Folder 2.
Not even sure this is possible, I am fairly new to this
Tried doing some research on it but was unsuccessful.
Thank you.
From batch file, calling another batch file different folder
Moderator: DosItHelp
Re: From batch file, calling another batch file different fo
Use the CALL command in connection with the entire path (or relative path).
Regards
aGerman
Code: Select all
call "C:\somewhere\Test Folder 2\test.bat"
Regards
aGerman