1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Support' started by vefatica, Sep 20, 2014.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,888
    Likes Received:
    30
    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
     

Share This Page