[THIN] Re: Can't pass %USERPROFILE% environmental variable toan icon as a parameter in Win2003 TS?

Are you sure that the file is in the profile for the users that aren't =
getting it?  Also are you sure that the program will read the parameter =
like you have it.  Maybe it works on the ones you did manually because it =
added something into the registry for their profile, rather than really =
reading from the parameter??  I've run across programs that did similar =
things.

Either way, I never like putting configuration files in the profiles =
unless needed since the more you have in there, the longer it takes to log =
on and off, and the bigger the profile gets the more likely it is to get =
corrupted (just preference mostly).

You could try putting the config file in the users home directory and =
editing the parameter on the shortcut to read the drive letter that is in =
your RootDrv2.Cmd file (same as %RootDrive%).  Mine would look something =
like "C:\Program Files\Atwin\Atwin32.exe" "z:\config\RS6000.cfg"

config would be a directory in the users home drive and the file would be =
placed in there.

Regards,
Paul

>>> MLeone@xxxxxxxxxxxxxxxxxxxx 03/31/04 12:22PM >>>
I'm running a Win2003 TS. User logs in as Power User. There's a shortcut
icon on the desktop, that has this, as the TARGET of the icon:
"C:\Program Files\Atwin\Atwin32.exe" "%USERPROFILE%\RS6000.cfg"

This doesn't seem to work for all users. The application (atwin32.exe) is
not reading the config file at %USERPROFILE%\RS6000.cfg. It starts up with
no config file (atwin32 is Accuterm 97, a terminal emulation program)

(file does exist; SECURITY tab of that file shows that user has all access
rights; once the app starts, I can do a FILE, OPEN, and read the file. I
want each user to have their own config file, so that they can change =
their
own colors, printer settings, etc, without messing up all other users)

The odd part ... this *does* seem to work for a couple users. These =
working
users are ones who I configured by physically sitting at the console of =
the
server, and logging in as that user. I just verified that, by starting up
Remote Desktop on my PC; logging in as that user; and double-clicking that
icon. App started, and is using that config file.

I'm lost and confused. Why would it work for some but not all? Can't I =
pass
that environmental variable to a shortcut icon on the desktop? (it =
evaluates
to "C:\Documents and Settings\userid") How are others doing this sort of
personalized icon targets?

--
------------------------------------------------------------
Michael Leone, Systems Administrator
Philadelphia Contributionship
210 S. 4th Street, Philadelphia, PA  19106
<mailto:mleone@xxxxxxxxxxxxxxxxxxxx>
V: 215-627-1752 x1282
F: 215-627-5354


********************************************************
This weeks sponsor Emergent Online.
Emergent OnLine is the leading server-based computing consulting integratio=
n firm in the nation. Emergent OnLine delivers expert=20
consulting services you can depend on.
http://www.go-eol.com=20
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm=20
***********************************************************
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

********************************************************
This weeks sponsor Emergent Online.
Emergent OnLine is the leading server-based computing consulting integration 
firm in the nation. Emergent OnLine delivers expert 
consulting services you can depend on.
http://www.go-eol.com
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: