diff --git a/lib/takeover/xp_cmdshell.py b/lib/takeover/xp_cmdshell.py index f4d2e2ebd..7e36faf0a 100644 --- a/lib/takeover/xp_cmdshell.py +++ b/lib/takeover/xp_cmdshell.py @@ -114,7 +114,7 @@ class xp_cmdshell: self.getRemoteTempPath() tmpFile = "%s/tmpc%s.txt" % (conf.tmpPath, randomStr(lowercase=True)) - cmd = "%s > %s" % (cmd, tmpFile) + cmd = "%s > \"%s\"" % (cmd, tmpFile) self.xpCmdshellExecCmd(cmd)