diff --git a/util/files.js b/util/files.js
index <HASH>..<HASH> 100644
--- a/util/files.js
+++ b/util/files.js
@@ -19,7 +19,7 @@ module.exports = function (files) {
     });
     toProcess = toProcess.trim();
   } else {
-    toProcess = '"' + files + '"';
+    toProcess = '"' + files.replace(/\^/g, '^^').replace(/\&/g, '^&').replace(/\</g, '^<').replace(/\>/g, '^>').replace(/\|/g, '^|').replace(/\%/g, '%%') + '"';
   }
   return toProcess;
Now also escapes files in string format