Writing a batch script to perform differently on different days?
Posted
by
Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2012-10-20T18:56:03Z
Indexed on
2012/10/20
23:01 UTC
Read the original article
Hit count: 169
batch
I am in the process of setting up a batch script to do a specified action if the script was run on a weekday, and an alternate action if run on the weekend.
I am almost completely unfamiliar with writing batch scripts, but I know how to write my entire script except the logic I describe above. Can someone please answer both if it is possible, and if it is at least a framework of how to implement it. Thanks in advance.
© Stack Overflow or respective owner