writefile - quoted filename?
Posted: 01 Aug 2011 13:30
Not sure if this is a bug or not...
Leads to the output:
and the writefile succeeds.
But if I replace the path in the writefile line with the $HiDriveTempBatchFile variable, it isn't working anymore...
Any hints?
Code: Select all
$HiDriveTempBatchFile = quote("D:\temp\a und b.txt");
msg $HiDriveTempBatchFile;
writefile("D:\temp\a und b.txt", "@Echo off".<crlf>, o, ta);Code: Select all
"D:\temp\a und b.txt"But if I replace the path in the writefile line with the $HiDriveTempBatchFile variable, it isn't working anymore...
Code: Select all
$HiDriveTempBatchFile = quote("D:\temp\a und b.txt");
msg $HiDriveTempBatchFile;
writefile($HiDriveTempBatchFile, "@Echo off".<crlf>, o, ta);