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

WAD TCC saves its configuration in a discardable place

Discussion in 'Support' started by AnrDaemon, Sep 11, 2014.

  1. AnrDaemon

    Joined:
    Aug 23, 2010
    Messages:
    45
    Likes Received:
    1
    I've only today noticed it... Made a mistake when tipping boxes in GUI, and TCC yelled at me
    Code:
    tcc.exe /K
    Error at line 34 in %USERPROFILE%\AppData\Local\JPSoft\TCMD.INI:
    ...but one minute! %LocalAppData% is a discardable place for temporary and hardware-dependent user-specific files, which is never included in backups or migration profiles.
    Definitely not the place for a main application configuration file!
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,869
    Likes Received:
    83
    TCC has been saving its default configuration file there for at least 12 years (which is where Microsoft has always recommended it be saved).

    However, you can change the default location with the @inifile option on the TCMD / TCC startup line.
     
  3. AnrDaemon

    Joined:
    Aug 23, 2010
    Messages:
    45
    Likes Received:
    1
    Microsoft never recommended to save persistent settings in a discardable place. They aren't that stupid.
    %AppData% is the place for persistent configuration files. %LocalAppData% is for discardable and hardware-dependent configuration.
    And for your "least 12 years", I haven't used TCC for these years.

    Also, what's wrong with the setting "TCStartPath=%USERPROFILE%\bin" ?
     

Share This Page