Command Central 10.15 | Using the Command Line Interface | Invoking Commands from Scripts | Creating Shell Scripts that Execute Commands
 
Creating Shell Scripts that Execute Commands
On Windows, execute sagcc commands within a .bat file execute using call statements. The following is an example of a script that might be in a file named get-products-inventory.bat:
@echo off             
echo getting products inventory             
call sagcc list inventory products