>temppath = "'" + GetEnv("TEMP")+"\PDM Docs\" + "'" >If !DIRECTORY(&temppath) Then > MD &temppath >EndIf >>
>pdmVar.temppath = "'" + GetEnv("TEMP")+"\PDM Docs\" + "'" >If !DIRECTORY(&pdmVar.temppath) Then > MD &pdmVar.temppath >EndIf >The macro expansion stops at the first period! My rule number one: always use a name expression, whenever possible.
temppath = "'" + GetEnv("TEMP")+"\PDM Docs\" + "'" If !DIRECTORY(temppath) Then MD (temppath) EndIf
pdmVar.temppath = "'" + GetEnv("TEMP")+"\PDM Docs\" + "'" If !DIRECTORY(pdmVar.temppath) Then MD (pdmVar.temppath) EndIf