Re: terminal services compatibility
- From: "swansnow" <schultz@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: 26 Aug 2005 09:29:41 -0700
OK, let me try again. Sorry I was unclear.
I am writing a program that needs to run on both a normal windows
system and a terminal services system. In order to save user-specific
settings, I have an ini file and a database table (dbf). In a normal
system, the exe is on the user's computer, and the program puts these
files in the exe directory, and the program can always access them at
that location.
In a terminal services system, the admin has created folders for each
user, and mapped it to a drive letter (like W). When the user runs the
program, the exe is located on the network, not on their computer, so
multiple users can be running the same exe at the same time. If I save
their settings in the exe folder, the files will get overwritten by
other users. So their settings need to be kept in their working
folders (which the admin has already created), not the exe folder.
The program needs to be able to detect if the user is running on a
terminal services system, in order to decide whether to use the exe
folder, or whether to use the user's working folder. The program needs
to be able to figure out what the user's working folder is, in order to
read and write to those settings files.
It seems to me that maybe I can use the ROOTDRIVE environment variable,
but I'm not sure if this is a good way to solve this problem. I
currently don't have a terminal services system to test on, so I don't
even have a good way to try things out right now. I'm trying to
research the problem because it isn't clear to me what to do.
-Corinna
.
- Follow-Ups:
- Re: terminal services compatibility
- From: Andreas Koch
- Re: terminal services compatibility
- From: Maarten Wiltink
- Re: terminal services compatibility
- References:
- terminal services compatibility
- From: swansnow
- Re: terminal services compatibility
- From: pr
- Re: terminal services compatibility
- From: swansnow
- Re: terminal services compatibility
- From: pr
- terminal services compatibility
- Prev by Date: Re: Mapping DLL procedure to Delphi
- Next by Date: Re: terminal services compatibility
- Previous by thread: Re: terminal services compatibility
- Next by thread: Re: terminal services compatibility
- Index(es):
Relevant Pages
|