ドキュメント

アプリケーション

最終更新日:2020年5月11日、マーク・フリックによって

外部スクリプトタスク

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

この記事は参考になりましたか? この記事は役に立った この記事は役に立たなかった

5 コメント
最古の
最新 最も投票された
Ryan Hartstein
21. 7. 2023 4:50 am

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

Michael47x
返信する  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
セット “BATCH_DIR=%~dp0“

のため /d %%D 中 (“%BATCH_DIR%*”) やる (
    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.
ラッセル・マクブライド
11. 5. 2024 12:14 am

Is it only windows batch scripts that can be called, or can one also call UNIX shell scripts, or other programming language scripts, like python files?

ironhak
1. 3. 2026 2:00 pm

How to run a python file??

エディ
22. 5. 2026 1:07 pm

What types of arguments can be used with calling an external file?