execCommand('SaveAs'... problem with filename

ericdalrymple
ericdalrymple used Ask the Experts™
on
I have some javascript that does a saveas to prompt the user to save an xml file:

<script>
document.execCommand('SaveAs',true,'tfbo-20070629AbdullahiA.9902-.xml');
</script>

This works on my machine:
-windows xp pro
-IE7

But not on other machines running IE 8 (and God only know what else.).
The problem is that on these other machines, the file save as dialog is opened with the filename looking like this:

tfbo-20070629AbdullahiA.9902-

Missing the ".xml"

I have verified all the IE settings I can think of that might affect this. ideas?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Independent Consultant
Commented:
This is a total shot in the dark.

What is this value set to? (see image)

shot-in-the-dark.JPG

Author

Commented:
thats it! you ARE the man!!! thanks!!!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial