Date : Mon, 01 Oct 2012 11:45:19 +0100
From : afra@... (Phill Harvey-Smith)
Subject: [OT-ish] PC equivalent of Library
On 01/10/2012 11:27, Anders Carlsson wrote:
> Paul Vernon wrote:
>
>> the OP wanted user specific Application folders akin to the Unix usr
>> folder
>
> How much work would there be to set up a C:\bin\user.name\ structure on
> current Windows, and in the profile logon script set up %PATH% to according
> directory? In that way, executables and scripts could be kept apart for each
> user, while not part of the c:\users structure that tends to be
> automatically backed up? That is assuming JGH is serving many users or is
> using separate logins for different types of work.
Allowing for the fact that this machine is running Windows 2008 :) there
is a %USERNAME% environment variable so you could have your login script
md c:\bin\%USERNAME% (this would fail if the folder already exists of
course, but that should not matter) and then PATH=%PATH%;c:\bin\%USERNAME%;
I believe that the same will work certainly work as far back as Win XP,
I think also on Win 2000, not sure about 95/98/Me tho.
Cheers.
Phill.