Hi all, finally I got the solution for passing path comprising blanck character as string to the powershell() function from scilab: two simple quote ' should be used instead of n times double quotes. NB: powershell console should receive the path string encompassed with simple quote: to generate this correct string from scilab you have to use a second simple quote.
The scilab script below performed the creation of a new file encoded in UTF-8 from my original file encoded in UTF16 LE: pscmd='get-content -Path ''C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.dat.csv'' | out-file ''C:\Users\dc227480\Documents\temp\Données IAQ SENSE 29_01_2016 10_45_00 1.UTF-8.csv'' -encoding utf8' powershell(pscmd) David -- View this message in context: http://mailinglists.scilab.org/issue-providing-command-to-powershell-tp4033376p4033401.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
