Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

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

May
12,834
163
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
 

Similar threads

Replies
4
Views
2K
Back
Top