Hi,
Which the best form for a directory to be seen exists?
example:
C:\BA
* he doesn't have any file in this directory
Clemerson
cIni :=GetWinDir()+"\Classroom.Ini"
cTem :=GetPvProfString("Classroom","DirDat","",cIni)
cDir :=IF(!Empty(cTem),LFN2SFN(cTem),cTem)
cNSys:="ClassRoom"
IF !Empty(cPar) .AND. cPar=="/L"
cPath:=CurDrive()+":\"+CurDir()+"\"
ELSE
cPath:=IF(!Empty(cDir),cDir,"\"+CurDir()+"\")
ENDIF
IF Empty(cTem)
cPath:=CurDrive()+":\"+CurDir()+"\"
WritePProString(cNSys,"DirDat",cPath,cIni)
ENDIF
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 100 guests