So, i have one bat file with some commands in it, and I want to add next:
I have folder on different drive, that contains some folder that have to be deleted, and I made another do.bat in that folder with command:
so, this deletes all subfolders, and files, where that do.bat is present
Well, I want to execute it from another .bat file, which is on different drive
I've tried with
but it doesn't work, at least doesn't execute do.bat same way, when I start it manually.
shortest version: I start .bat file from c: drive, which executes another .bat file on d: drive
Any ideas?
I have folder on different drive, that contains some folder that have to be deleted, and I made another do.bat in that folder with command:
Code:
for /d %%a in (?*FAILED*) do rd /s /q "%%a"
so, this deletes all subfolders, and files, where that do.bat is present
Well, I want to execute it from another .bat file, which is on different drive
I've tried with
call d:\temp\blah\here\do.bat
but it doesn't work, at least doesn't execute do.bat same way, when I start it manually.
shortest version: I start .bat file from c: drive, which executes another .bat file on d: drive
Any ideas?
Last edited: