cqprod27
08-29-2002, 09:39 PM
I've figured out from other post how to invoke the "save as" prompt from windows. But I want the get the actually file location information back ... the whole path, without actually saving the file yet.
This is what need back:
C:\Documents and Settings\machineName\Desktop\saveFileNameAs.*
This is what I have so far:
<script>
function saveAsMe (filename)
{
document.execCommand('SaveAs',true,filename)
}
</script>
<input type=button value="Save" onclick="saveAsMe('sample.txt');">
This actaully saves the content of the viewing page if you click save.
Any light someone can shade would be greatly appreciated.
Thanks,
- cqprod27
This is what need back:
C:\Documents and Settings\machineName\Desktop\saveFileNameAs.*
This is what I have so far:
<script>
function saveAsMe (filename)
{
document.execCommand('SaveAs',true,filename)
}
</script>
<input type=button value="Save" onclick="saveAsMe('sample.txt');">
This actaully saves the content of the viewing page if you click save.
Any light someone can shade would be greatly appreciated.
Thanks,
- cqprod27