This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
windows:scripts:batch_if_else [2015/01/29 10:03] tschulz [If File Exists] |
windows:scripts:batch_if_else [2015/01/29 10:06] (current) tschulz |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== If File Exists ===== | ===== If File Exists ===== | ||
- | <file bat> | + | <file dos> |
if exist "PATH" ( | if exist "PATH" ( | ||
goto end | goto end |