Strav's blog


  • Front Page
  • Categories
  • Archives
  • Latest comments
  • Log in
« Home Assistant Miscellaneous LinksHow to use Raspberry Pi Zero W without any attached devices »

Can I have an IF block in DOS batch file?

Can I have an IF block in DOS batch file?

if <statement> (
    do something
) else (
    do something else
)

Link: https://stackoverflow.com/questions/4983508/can-i-have-an-if-block-in-dos-batch-file

No feedback yet

  Comment feed for this post


This collection ©2026 by admin | Contact | Help | Design by Michael Heilemann | Web Site Builder