Documentation

Applications

Last updated on 11. 5. 2020 by Mark Fric

Call external script task

a special task that pauses custom project and call san external script or program. It can be used to pass the processing to external program, and then to return to running custom project task.

Call external script custom project task

Was this article helpful? The article was useful The article was not useful

Subscribe
Notify of
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Ryan Hartstein
21. 7. 2023 4:50 am

Would be great to see an example, including the text of the batch file itself.

Michael47x
Reply to  Ryan Hartstein
12. 11. 2023 12:11 am

Here is a simple one that deletes all files in a parent’s child directories.

@echo off
setlocal
set BATCH_DIR=%~dp0

for /d %%D in (%BATCH_DIR%*”) do (
    del /q %%D\*.*”
)
endlocal

  • It is both parent and child directory agnostic.
  • Drop the batch file in whatever parent directory you wish.
  • Reference the batch file (script) in the “Call external script” task.
  • It does not touch any files at the parent level.