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

TCC RT and _ININAME

Discussion in 'Support' started by Joe Caverly, Aug 29, 2017.

  1. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    697
    Likes Received:
    8
    When I run the following with TCC RT;
    Code:
    ver /r
    @echo off
    echo Windows 64-bit: %_X64
    echo INI Name      : %_ininame
    ...it returns...
    Code:
    ver /r
    
    TCC RT  21.01.46 x64   Windows 7 [Version 6.1.7601]
    TCC RT Build 46   Windows 7 Build 7601  Service Pack 1
    Windows 64-bit: 1
    INI Name      : C:\ProgramData\JP Software\TCC-RT 21\TCMD.INI
    There is, however, no TCC-RT 21 directory, but there is a TCC RT 21 directory.
    Code:
    dir
    
     Volume in drive C is WINDOWS        Serial number is d4d0:ce4e
     Directory of  C:\ProgramData\JP Software\*
    
     8/28/2017  11:07         <DIR>    .
     8/28/2017  11:07         <DIR>    ..
     8/28/2017  11:07         <DIR>    CMDebug 21
     3/02/2017  11:18         <DIR>    Take Command 20
    11/16/2016  13:09         <DIR>    Take Command 20.0
     5/21/2017  16:23         <DIR>    Take Command x64 18.0
     8/28/2017  11:07         <DIR>    TCC 21
    11/24/2016  16:42         <DIR>    TCC RT 20.0
     7/22/2017  18:30         <DIR>    TCC RT 21
     8/28/2017  11:07              67  CMDebug.21.key
     1/02/2017  21:32       3,615,478  jpstree.idx
     4/23/2017  12:50             104  TakeCommand.18.0.key
     1/08/2017  14:01              81  TakeCommand.19.0.key
    11/16/2016  13:08              67  TakeCommand.20.0.key
     4/20/2017   7:50              72  TakeCommand.21.key
             3,615,869 bytes in 6 files and 9 dirs    3,637,248 bytes allocated
       677,094,547,456 bytes free
    There is no TCMD.INI file in the TCC RT 21 directory. There is also no TCMD.INI file in the installation directory;
    Code:
    dir *.ini
    
     Volume in drive C is WINDOWS        Serial number is d4d0:ce4e
     Directory of  C:\Program Files\JPSoft\TCC_RT_21\*.ini
    
     8/29/2017   8:30             388  updater.ini
                   388 bytes in 1 file and 0 dirs    4,096 bytes allocated
       677,093,650,432 bytes free
    Joe
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,023
    Likes Received:
    84
    %_ininame gets a default name if TCC(-RT) doesn't find an existing TCMD.INI. So %_ininame isn't guaranteed to already exist; but it will be the .INI name when anything gets written.
     

Share This Page