I get the same result.

Script error : xpression.
If LEFT(@WKSTA,7) = "mtscapp"
The system cannot find the path specified.

 Code:
If LEFT(@WKSTA,7) = 'mtscapp'
	If InGroup ('AltLNDrive')
		'Writing NotesIniPath "A" :'
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NotesIniPath', 'G:\Lotus\Notes\Data\notes.ini', 'Reg_SZ')
@SERROR ?
		'Writing NeedCommonFiles "A": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NeedCommonFiles', 1', 'Reg_DWord')
@SERROR ?
	Else
		'Writing NotesIniPath "B": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NotesIniPath', 'U:\Lotus\Notes\Data\notes.ini', 'Reg_SZ')
@SERROR ?
		'Writing NeedCommonFiles "B": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NeedCommonFiles', 1, 'Reg_DWord')
@SERROR ?
  	EndIf
EndIf

I added @SERROR after the 1st line and got this result:

Script error : xpression.
If LEFT(@WKSTA,7) = "mtscapp"

 Code:
If LEFT(@WKSTA,7) = 'mtscapp'
@SERROR ?
	If InGroup ('AltLNDrive')
		'Writing NotesIniPath "A" :'
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NotesIniPath', 'G:\Lotus\Notes\Data\notes.ini', 'Reg_SZ')
@SERROR ?
		'Writing NeedCommonFiles "A": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NeedCommonFiles', 1', 'Reg_DWord')
@SERROR ?
	Else
		'Writing NotesIniPath "B": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NotesIniPath', 'U:\Lotus\Notes\Data\notes.ini', 'Reg_SZ')
@SERROR ?
		'Writing NeedCommonFiles "B": '
		$=WriteValue('HKEY_CURRENT_USER\Software\Lotus\Notes\8.0', 'NeedCommonFiles', 1, 'Reg_DWord')
@SERROR ?
  	EndIf
EndIf


Edited by Mart (2010-09-13 09:16 AM)
Edit Reason: Please use code tags when posting code.