SET /A "var%=N", TCC vs. CMD

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

v:\> set z=8

v:\> set /a "z%=2"
0
v:\> set z
z=0
Code:
TCC  16.03.55  Windows 7 [Version 6.1.7601]

v:\> set z=8

v:\> set /a "z%=2"
10

v:\> set z
8