Running a batch file from another batch file from shared location -
i have batch file has series of commands (abc.bat). need copy file c:\abc\xyz folder , after copying need run abc.bat file shared location.
the copy command same if typing directly command prompt:
copy abc.bat c:\abc\xyz
be sure include path original file location if isn't in same location current batch file running from.
to run batch file batch file, use call
keyword.
call c:\abc\xyz\abc.bat
Comments
Post a Comment