- Dec
- 236
- 2
I have following aliases:
If I am in a directory where "Test" does NOT exist and run the following with echo on:
V16:
*** It creates the directory and I end up in the new directory.
V17:
*** Nothing happens
If I change the xd alias to the following:
Now I run:
V16:
V17:
This tells me that V17 ignores the "%+ ELSE %+ nd %1 %+ ENDIFF" part of the alias.
I am using Build 51 for V17
xd=`iff %@index[%@attrib[%1],D] eq 4 THEN %+ cd %1 %+ ELSE %+ nd %1 %+ ENDIFF`
nd=md /s %1 && %1\
nd=md /s %1 && %1\
If I am in a directory where "Test" does NOT exist and run the following with echo on:
xd Test
V16:
iff %@index[%@attrib[Test],D] eq 4 THEN
md /s Test
Test\
md /s Test
Test\
*** It creates the directory and I end up in the new directory.
V17:
iff %@index[%@attrib[Test],D] eq 4 THEN
*** Nothing happens
If I change the xd alias to the following:
xd=`iff %@index[%@attrib[%1],D] ne 4 THEN %+ nd %1 %+ ELSE %+ cd %1 %+ ENDIFF`
Now I run:
xd Test
V16:
iff %@index[%@attrib[Test],D] ne 4 THEN
md /s Test
Test\
md /s Test
Test\
V17:
iff %@index[%@attrib[Test],D] ne 4 THEN
md /s Test
Test\
md /s Test
Test\
This tells me that V17 ignores the "%+ ELSE %+ nd %1 %+ ENDIFF" part of the alias.
I am using Build 51 for V17