diff --git a/IOB-WIN-NEXT/IobGeneric.cs b/IOB-WIN-NEXT/IobGeneric.cs index 816ee7be..e7d719ff 100644 --- a/IOB-WIN-NEXT/IobGeneric.cs +++ b/IOB-WIN-NEXT/IobGeneric.cs @@ -4748,7 +4748,7 @@ namespace IOB_WIN_NEXT bool answ = false; // salvo articoli string locDir = getOptPar("FTP_LOC_DIR"); - string basePath = Directory.GetCurrentDirectory(); + string basePath = Application.StartupPath; string tempDir = Path.Combine(basePath, locDir); if (!Directory.Exists(tempDir)) {