Message337960
Looks like the brackets are fine even in the bracket case Steve mentioned.
@echo off
if NOT DEFINED ABCDEF (
echo "all good"
)
if NOT DEFINED ABCDE (
echo "all good2"
)
set ABCDE=
if NOT DEFINED ABCDE (
echo "sadness"
)
if [%ABCDE%]==[] (
echo "all good3"
)
set ABCDE=]
if [%ABCDE%] NEQ [] (
echo "all good4"
)
set ABCDE="]"
if [%ABCDE%] NEQ [] (
echo "all good5"
)
>demo.bat
"all good"
"sadness"
"all good3"
"all good4"
"all good5" |
|
Date |
User |
Action |
Args |
2019-03-15 01:14:39 | Jess | set | recipients:
+ Jess, paul.moore, tim.golden, zach.ware, steve.dower |
2019-03-15 01:14:39 | Jess | set | messageid: <1552612479.05.0.169637606207.issue36245@roundup.psfhosted.org> |
2019-03-15 01:14:39 | Jess | link | issue36245 messages |
2019-03-15 01:14:38 | Jess | create | |
|