From 1387ed0c2557b00a82f1cfc9e8d9edbca0b845bc Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sat, 29 May 2010 15:27:49 +0000 Subject: [PATCH] This %TEMP% is a mere cause of problems (e.g. --os-cmd in MSSQL the BULK INSERT with '%TEMP%\foo' does not work), stick with C:/WINDOWS/Temp --- plugins/generic/misc.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/generic/misc.py b/plugins/generic/misc.py index cdbda7ee0..28731e9f7 100644 --- a/plugins/generic/misc.py +++ b/plugins/generic/misc.py @@ -51,10 +51,7 @@ class Miscellaneous: def getRemoteTempPath(self): if not conf.tmpPath: if kb.os == "Windows": - if kb.dbms == "Microsoft SQL Server": - conf.tmpPath = "%TEMP%" - else: - conf.tmpPath = "C:/WINDOWS/Temp" + conf.tmpPath = "C:/WINDOWS/Temp" else: conf.tmpPath = "/tmp"