none
How do I do logical operator in conditional in batch script? RRS feed

  • Question

  • Microsoft has been established for more than 40 years, yet I can't see code like:
    if (variable && variable ||)
    in batch script. where have you been, microsoft developers?

    Wednesday, October 28, 2020 4:43 AM

Answers

All replies

  • I'd try asking for help over here.

    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, October 28, 2020 11:50 AM
    Moderator
  • okay thank you for the response
    Thursday, October 29, 2020 3:45 AM
  • You're welcome.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Thursday, October 29, 2020 12:20 PM
    Moderator