How do I delete a simple text file on the server that is running my ASP file? I already know how to create a file, open a file, read a file, write to a file....but I can't find documentation on how to delete a simple text file.
Example:
Let's say there is a file called "deletethis.txt" located on the web server in the folder "c:\TheFolder\".
Given that I already have a string variable that contains the full path name to the file, (let's call it "strPathName", how do I delete the file?
thanks,
Jerry
Example:
Let's say there is a file called "deletethis.txt" located on the web server in the folder "c:\TheFolder\".
Given that I already have a string variable that contains the full path name to the file, (let's call it "strPathName", how do I delete the file?
thanks,
Jerry