|
Airblader is very very wrong.
MSIE *CAN* save files on the client computer.
Providing that the user allows it to by setting the security settings.
There is nothing wrong with the JS code as shown in that first post.
The error about "unterminated string constant" is simply not true.
So ssen must have changed the code before trying it with MSIE.
Now, having said all that...
The code will almost surely not run.
First of all, unless SSEN has changed the security settings in his MSIE browser, he won't be allowed to create the FileSystemObject.
Secondly, it is very unlikely that the browser will have permission to create a file in the C:\ directory. SSEN should be using some sub-directory that is used for *NOTHING* except junk file like this and that is marked as WRITABLE by the browser.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
|