A
A
Alexander Zharchenko2017-03-30 11:59:32
cmd/bat
Alexander Zharchenko, 2017-03-30 11:59:32

How to run a batch file, which is located in a subfolder, from another batch file?

There is C:\folder0\folder1\folder2\go1.bat
Folder0 contains go0.bat from which you need to run go1.bat without specifying the full path. Those. run from a nested directory. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2017-03-30
@exxxcitation1

call "%~dp0\folder0\go0.bat"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question