Vista questions

May 20, 2008
11,424
99
Syracuse, NY, USA
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?
 
May 29, 2008
41
0
> 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?

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
 

rconn

Administrator
Staff member
May 14, 2008
12,365
150
vefatica wrote:

> 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?

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

Rex Conn
JP Software
 
May 30, 2008
80
0
Gerakas, Greece
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

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...
 

dim

Dimitry Andric
May 31, 2008
205
1
Netherlands
On 2009-05-15 01:44, gschizas wrote:

> %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)

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... :)
 
Similar threads
Thread starter Title Forum Replies Date
fpefpe V17 - Vista Support 2
G ctr/c nop in attached consoles in tcmd 10 under vista sp1 Support 2
L Vista 64 bits missing commands Support 1
Fross Vista SP2 Issue Support 5
mscheuner Running one tab as Vista admin - ERROR Support 1
grkuntzmd TCMD 9.02 crashing on Vista Support 4
mscheuner TCMD 8 - cannot register on Vista x64 Support 0
Timothy Byrd PROCESSMONITOR in 9.02.151 under Vista 64 Support 1
I detect Vista privilege elevator Support 3
C access denied problem under Vista Support 5
vefatica Questions about aliases. Support 1
vefatica Long file names - a few questions Support 2
C DIFFER questions.... Support 66
Mezlo menu batch file questions Support 25
S FORUM questions Support 2
C z_newmove.btm questions Support 6
S Documentation Questions re: ON Support 13
C TPIPE questions.... Support 5
mikea Questions re: Internal ZIP command Support 5
S PDIR and @LABEL questions Support 4
S Questions about new build announcements Support 0
C tpipe questions Support 5
aedthuio Some questions Support 10
C @shfolder questions Support 7
gschizas Licensing questions Support 3
S Documentation File reading questions Support 4
M Just some questions about TCC "hanging" and PIDs... Support 4
ehab aboudaya How to? 2 GUI questions and return HWND using TakeCommandIPC Support 3
S Questions about @winapi/@capi Support 8
M Questions about @Assoc and @FType... Support 18
M A questions about @Files "+d" Support 35
mikea TCC v12 startup questions Support 15
S ON and REBOOT questions Support 3
S xxxMONITOR command questions Support 1
mikea BDEBUGGER/IDE questions Support 16
P Installer questions/gripes Support 2
C General questions Support 9
H IDE v10 questions Support 2
S V10 questions Support 8
C Few questions and suggestions Support 2
nikbackm IFTP questions Support 3

Similar threads