In asp I used the following code to create a file.
dim fso, objFile
set fso = server.CreateObject("scripting.FileSystemObject")
set objFile = fso.CreateTextFile("C:\test1.txt", True)
objFile.writeline "Hello World"
Its not creating the file. Infact the web server is getting hanged when executing the page with the above code. Can any one give me a solution for this.
Thanks in advance.