RakhiKalra
Programmer
Hi,
I have a requierment of deleting a file. I am, writing the following code. when this code gets executed, the server processing starts and end with the servertimeout.
The code is as follows
dim strFullPath
strFullPath = "c:\inetpub\
dim objFileSystemObject
'Creating the object
Set objFileSystemObject=Server.CreateObject("Scripting.FileSystemObject")
'Delete the file
objFileSystemObject.DeleteFile(strFullPath)
'dispose the object
set objFileSystemObject=nothing
pls hellp
Rakhi
I have a requierment of deleting a file. I am, writing the following code. when this code gets executed, the server processing starts and end with the servertimeout.
The code is as follows
dim strFullPath
strFullPath = "c:\inetpub\
dim objFileSystemObject
'Creating the object
Set objFileSystemObject=Server.CreateObject("Scripting.FileSystemObject")
'Delete the file
objFileSystemObject.DeleteFile(strFullPath)
'dispose the object
set objFileSystemObject=nothing
pls hellp
Rakhi