[THIN] KIX Macro @HomeDrive

  • From: <Dave.Boatman@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 2 Oct 2002 15:27:46 +0100

W2K, Active directory, SP3 and Terminal Server.

KixScript ver Kix2001-411


Should the following Kix script macros  - @homedrive, @homeshr and @homedir

Pull back a terminal server users home directory,share and drive  ?

I'm just opening up a cmd prompt when logged in as  a terminal server user
and typing the following :-

Kix32 test.kix


Test.kix contains

messagebox ("Home = @HOMEDRIVE","This doesn't work",0,)


I can use other macros such as @HOSTNAME and I get the machine name back but
with @HomeDrive I just get Home = 


If you type "set" in the same CMD prompt you can see values for
homedrive,Homeshare and %homedrive% will take you back the the users default
H:\ drive


Any pointers ??




Dave Boatman

This weeks sponsor 99Point9.com
99Point9 helps solve your unresolved technical
server-based questions, issues and incidents.

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.


Other related posts: