I don't know about why you might not be able
to create a file when you have permission,
but you don't seem to be posting the actual code here.
Posting a recreation/facsimile just wastes everyone's
time.
As written, your posted code first fails because you
used oFSO as the object, then called CreateTextFile
with oFS0. (Last char. is zero instead of the letter O.)
Then in the third line you used a method that doesn't
exist for TextStream. WriteIn is an IE method.
So how is it that you have 2 fatal errors in
3 lines and you didn't find that out when you
ran the script?!
Quote:
> Set oFSO = CreateObject ("Scripting.FileSystemObject")
> Set oOutput = oFS0.CreateTextFile ("F:\P.htm", true)
> oOutput.Writeln "<HTML>" . . . . . . . . . . . .
>
> But this refuses to create the file,
> whether the file exists or not nothing happens, no error and no file.
> The F: drive has full permissions for everyone,