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

Startup folder not working on v15

Discussion in 'Support' started by Chen Hsien Chang, Apr 2, 2013.

  1. Chen Hsien Chang

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    Hi,

    I have upgraded my TCC from v14 to v15 and I realized the startup folder is not working any more. I have indicated in the tcmd.ini with the following:
    TCStartPath=c:\
    4StartPath=c:\

    but no luck. Can anyone advise please ?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,726
    Likes Received:
    80
    Not reproducible here. Are you sure that TCC is reading the TCMD.INI you think it is? (Run OPTION from the TCC command line; it will display the current TCMD.INI on the dialog title bar.)
     
  3. Chen Hsien Chang

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    yes, it does. See attached screenshot.
     

    Attached Files:

  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,784
    Likes Received:
    29
    TCStartPath and 4StartPath refer to the location of TCSTART.BTM and TCEXIT.BTM files. "C:\" seems like a very unlikely location for those files. Are you possibly confusing this with the current directory when TCC starts? The directory in which TCC starts can be specified in a shortcut or on TCC's command line. It can also be specified in the TCSTART.BTM file but that can cause problems when transient (pipe) instances of TCC unknowingly have their current directory changed.
     
  5. Chen Hsien Chang

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    I managed to get it working by defining "cd c:\" in TCSTART.BTM.
     
  6. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,784
    Likes Received:
    29
    That should be
    Code:
    if %_pipe ne 1 .and. %_transient ne 1 cdd c:\
    because pipe and transient instances of TCC expect to be in the current directory (not forced to be in c:\).
     
  7. Chen Hsien Chang

    Joined:
    Apr 2, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks, it works :)
     

Share This Page