[THIN] Re: KIX Macro @HomeDrive

  • From: "Braebaum, Neil" <neil.braebaum@xxxxxxxxxxxxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Wed, 2 Oct 2002 15:40:00 +0100

There's no reason why you cannot access the normal user environment
variables in Kixtart - exactly the same as in command files - just use the
%sdfdsfsdfs% syntax.

In terms of your question, I've no idea why the Kix macros don't deal with
these variables in this instance - never actually tried it, personally.


> -----Original Message-----
> From: Dave.Boatman@xxxxxxxxxxxxxx 
> [mailto:Dave.Boatman@xxxxxxxxxxxxxx] 
> Sent: 02 October 2002 15:28
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] KIX Macro @HomeDrive
> 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 ??

This e-mail and its attachments are intended for the above named 
recipient(s) only and are confidential and may be privileged.
If they have come to you in error you must take no action based 
on them, nor must you copy or disclose them or any part of 
their contents to any person or organisation; please notify the 
sender immediately and delete this e-mail and its attachments from 
your computer system.

Please note that Internet communications are not necessarily secure 
and may be changed, intercepted or corrupted. We advise that 
you understand and observe this lack of security when e-mailing us 
and we will not accept any liability for any such changes, 
interceptions or corruptions. 

Although we have taken steps to ensure that this e-mail and its 
attachments are free from any virus, we advise that in keeping 
with good computing practice the recipient should ensure they 
are actually virus free.

Copyright in this e-mail and attachments created by us belongs 
to Littlewoods. 

Littlewoods takes steps to prohibit the transmission of offensive, 
obscene or discriminatory material.  If this message contains 
inappropriate material please forward the e-mail intact to 
postmaster@xxxxxxxxxxxxxxxxx and it will be investigated. 
Statements and opinions contained in this e-mail may not 
necessarily represent those of Littlewoods.

Please note that e-mail communication may be monitored.

Registered office: 
Littlewoods Retail Limited, 
Sir John Moores Building, 
100 Old Hall Street, 
L70 1AB 
Registered no: 421258 

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: