diff --git a/micro/microfunctions.go b/micro/microfunctions.go index 9fe1352b..0ade0bfe 100644 --- a/micro/microfunctions.go +++ b/micro/microfunctions.go @@ -272,7 +272,9 @@ func ProgramDir_Common() string { //Windows substr = "\\temp\\" pos1 = strings.Index(sdir, substr) - if pos1 >= 0 { + substr = "\\tmp\\" + pos2 := strings.Index(sdir, substr) + if pos1 >= 0 || pos2 >= 0 { filename = CurrentFilename() dir = filepath.Dir(filename)