H
happytoday
That is my be silly an old question but I do not know how to use the
shift batch command in expanding options of choices more than 9
options.
:Main_Menu
@cls
@echo off
@echo Returned Envelops Script
@echo --------------------------
@echo.
@echo.
@echo 1-ID Entry to a single file
@echo.
@echo 2-Check/Delete ID duplication in a single
@echo.
@echo 3-Check ID Entry in ALL Sorted Files
@echo.
@echo 4-Sort/create And Print Sorted Files
@echo.
@echo 5-Count Envelops Entries in a sorted date
@echo.
@echo 6-Search Double Entries by Customer Number
@echo.
@echo 7-Search Entry by Customer Number
@echo.
@echo 8-Search Entry by Account
@echo.
@echo 9-Exit
@echo.
%binaries%\choice /C:987654321 Choose an
option ?
@if errorlevel 9 call return_entry
@if errorlevel 8 call return_double
@if errorlevel 7 call return_douentry
@if errorlevel 6 call return_sortprnt
@if errorlevel 5 call return_count
@if errorlevel 4 call return_chkdou
@if errorlevel 3 call return_chkmis
@if errorlevel 2 call return_chkmis_acc 2>error
@if errorlevel 1 call Exit
shift batch command in expanding options of choices more than 9
options.
:Main_Menu
@cls
@echo off
@echo Returned Envelops Script
@echo --------------------------
@echo.
@echo.
@echo 1-ID Entry to a single file
@echo.
@echo 2-Check/Delete ID duplication in a single
@echo.
@echo 3-Check ID Entry in ALL Sorted Files
@echo.
@echo 4-Sort/create And Print Sorted Files
@echo.
@echo 5-Count Envelops Entries in a sorted date
@echo.
@echo 6-Search Double Entries by Customer Number
@echo.
@echo 7-Search Entry by Customer Number
@echo.
@echo 8-Search Entry by Account
@echo.
@echo 9-Exit
@echo.
%binaries%\choice /C:987654321 Choose an
option ?
@if errorlevel 9 call return_entry
@if errorlevel 8 call return_double
@if errorlevel 7 call return_douentry
@if errorlevel 6 call return_sortprnt
@if errorlevel 5 call return_count
@if errorlevel 4 call return_chkdou
@if errorlevel 3 call return_chkmis
@if errorlevel 2 call return_chkmis_acc 2>error
@if errorlevel 1 call Exit