Command Central 10.3 | Command Central Developer Reference | 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