You'll have to use this :
code:

Select
case @INWIN=1 ; 1 for NTx , 2 for 9x/ME
$UserName=@WUSERID
case @INWIN=2
$UserName=@USERID
endselect


$username will have the %net_name% value you use (as far it seems to me that it's the logon user name)
Instead of this : c:\windows\profiles\%net_name%\desktop\Page Gate.lnk
i suggest this : "%windir%\profiles\"+ $username +"\desktop\Page Gate.lnk"
(%windir% will work on all Windows)

For Echo :
I use this and it work well :
SHELL "%comspec% /C ECHO " + $texttowrite +" >> c:\...\file.txt"

[This message has been edited by Popovk (edited 01 June 2001).]

_________________________
? getobject(Kixtart.org.Signature)