Well I tried my script, but it's not working, maybe i'm missing something.

 Code:
If LEFT(@WKSTA,7) = "MTSCApp"
	If InGroup ("AltLNDrive")=1
		RegWrite("HKEY_CURRENT_USER\Software\Lotus\Notes\8.0", "NotesIniPath", "G:\Lotus\Notes\Data\notes.ini", "Reg_SZ")
 		RegWrite("HKEY_CURRENT_USER\Software\Lotus\Notes\8.0", "NeedCommonFiles", "00000001", "Reg_DWord")
	Else
		RegWrite("HKEY_CURRENT_USER\Software\Lotus\Notes\8.0", "NotesIniPath", "U:\Lotus\Notes\Data\notes.ini", "Reg_SZ")
 		RegWrite("HKEY_CURRENT_USER\Software\Lotus\Notes\8.0", "NeedCommonFiles", "00000001", "Reg_DWord")
		
	EndIf
EndIf


Edited by Mart (2010-09-10 08:58 AM)
Edit Reason: Added code tags.