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