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

Vista questions

Discussion in 'Support' started by vefatica, May 11, 2009.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,794
    Likes Received:
    29
    I managed to uninstall Vista and re-install it in a VirtualPC. And I installed TCMD10. For now, I have only a couple questions. I'm confident there will be more.

    Apparently, the default place for INI files is C:\Users\vefatica\AppData\Local\JPSoft. That's a mouthful, especially when specifying the locations of START/EXIT files, and log files. Is this the default location if no StartPath is specified? Is there a default name/location for log files?

    And a Vista question ... I notice that my profile directory contains many shortcuts (according to Explorer) which are actually junctions; examples: ApplicationData, My Documents (where is My Documents, actually?). In Explorer, I can't follow any of them ("Access is denied"). Is there anything I can do to make these paths navigable, and specifiable wherever a path is required?
     
  2. dbartt

    Joined:
    May 29, 2008
    Messages:
    36
    Likes Received:
    0
    My Documents is a junction at \users\name\my documents to \users\name\documents.

    As far as following the shortcuts, it can be done but I don't recommend it.
    Standard Vista permissions puts a "deny everyone list folder/read data" rule on
    these folders. This appears to be a way to prevent the creation of duplicate
    file trees by copy/backup programs since Vista does not support a "copy links as
    links" function - links will get copied from both the source and link trees
    without this rule. I tried modifying that default rule and it caused many
    problems when I followed the directory tree. You can access any of these
    junction/symlink files directly by name but not by walking the tree.

    Dennis
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,732
    Likes Received:
    81
    vefatica wrote:

    It's the default location in Vista & later for .INI, TCSTART / TCEXIT,
    and log files. (This is mandated by Microsoft.)

    Rex Conn
    JP Software
     
  4. gschizas

    Joined:
    May 30, 2008
    Messages:
    81
    Likes Received:
    0
    Does it have to be %LOCALAPPDATA%\JPSoft (C:\Users\«username»\AppData\Local\JPSoft)? I would think that %APPDATA%\JPSoft (C:\Users\«username»\AppData\Roaming\JPSoft would be a better place for the .INI file. On the other hand I don't think that %APPDATA%\JP Software is the proper place to download updates.

    %LOCALAPPDATA% is supposed to hold system (PC) specific data. This is a good place for the updates (although the %TEMP% seems better), as well as any logs.
    %APPDATA% is supposed to hold roaming (User) specific data (roaming means that in a proper Active Directory with roaming profiles, no matter which workstation you use, the data will be copied and will be the same). This is a good place for user preferences (e.g. TCC.INI or any aliases)

    Source: (well, the best I could find) https://blogs.msdn.com/oldnewthing/archive/2005/07/01/434647.aspx

    Just a thought of course...
     
  5. dim

    dim Dimitry Andric

    Joined:
    May 31, 2008
    Messages:
    202
    Likes Received:
    0
    On 2009-05-15 01:44, gschizas wrote:

    Well, the problem is you can have PC-specific settings in your .ini
    files, or aliases (which I store in the %LocalAppData%\JPSoft dir too).

    If all this data was 'roaming', you would be forced to have exactly the
    same TC settings on all PC's in a certain domain. That is usually not
    what you want.

    There are some applications that actually split up their preferences
    into local and roaming parts, such as Visual Studio. But this is way
    too complicated for an app like TC, in my opinion... :)
     

Share This Page