[CODE]
; *******************************************************************************************************************
; * * * * * * Checks to see where 'appdir' is. Once program is installed will set directory to program dir * * * * *
; **************************************** by Nicholas Tindall 2006 *************************************************
; *******************************************************************************************************************
app$ = SystemProperty ("appdir")
DebugLog app$
If app$ = "F:Program FilesBlitzPlusin" Or app$ = "F:Program FilesBlitz3Din"
cur_dir$ = "F:Documents And SettingsAdministrator.NSTT1My DocumentsBlitz ProgsSticks n Stones"
ChangeDir cur_dir$
Else
cur_dir$ = SystemProperty ("appdir")
ChangeDir cur_dir$
EndIf
DebugLog "1: " + CurrentDir$()
; *******************************************************************************************************************
; *******************************************************************************************************************