fix long path trouble in atomsExtract under windows 45/10545/2
Antoine ELIAS [Wed, 20 Feb 2013 10:31:00 +0000 (11:31 +0100)]
Change-Id: Ie099e392ce0362b18352f4bf328996b36c487b83

scilab/modules/atoms/macros/atoms_internals/atomsExtract.sci

index 29b4339..5d7d406 100644 (file)
@@ -75,7 +75,7 @@ function dir_created = atomsExtract(archive_in,dir_out)
     elseif regexp(archive_in,"/\.zip$/","o") <> [] then
 
         if getos() == 'Windows' then
-            extract_cmd = getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F));
+            extract_cmd = """" + getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F)) + """";
         else
             extract_cmd = "unzip";
         end