for /f %%a in (βwmic os get localdatetime ^| find β.ββ) do set dte=%%a
set mth=%dte:~4,2%
for %%a in (01 05 09) do if β%mth%β==β%%aβ set job=1
for %%a in (02 06 10) do if β%mth%β==β%%aβ set job=2
for %%a in (03 07 11) do if β%mth%β==β%%aβ set job=3
for %%a in (04 08 12) do if β%mth%β==β%%aβ set job=4
echo Month is %mth%
echo Backup Set is %job%
put it in a .bat file, and with a little modification, you should be good.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment