WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: tsgjersey on August 25, 2022, 07:45:32 AM

Title: Include scripts into main script
Post by: tsgjersey on August 25, 2022, 07:45:32 AM
Hi,

I want to store several large subroutines in a separate script file that I can load into my main script so I can keep my main script tidy.

I have looked in the help but cannot find a way to do this.

Is it possible?

Thanks
Title: Re: Include scripts into main script
Post by: JTaylor on August 25, 2022, 08:07:36 AM
#include ?

Jim
Title: Re: Include scripts into main script
Post by: td on August 25, 2022, 09:58:42 AM
"#inlude" can be found in the help file and here:

https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_I__002.htm