Code: Select all
run 'cmd /c "c:\Program Files\blah\blah new\blah.exe" -list "$item" > $testFile';
Anyone have any ideas?
Code: Select all
run 'cmd /c "c:\Program Files\blah\blah new\blah.exe" -list "$item" > $testFile';
Code: Select all
run 'cmd /c "c:\Program Files\blah\blah new\blah.exe" -list "$item" > $testFile'; // yours
run "cmd /c ""c:\Program Files\blah\blah new\blah.exe"" -list ""$item"" > $testFile"; // mended
No, that's their purpose.Is there a way to interpolate the variables that I have defined within single quotes?
Code: Select all
run "cmd /c (""c:\Program Files\blah\blah new\blah.exe"" -list ""$item"") > ""$testFile""";