The first arg is the name of the file to remove.
/* Delete a file named "MyFile" in the current directory */ InetDelete("MyFile")
If desired, the filename can be qualified with other directories relative to the current directory. For example, assume your current directory is "Dir1". There is a directory named Dir2 inside of Dir1. To delete a file named MyFile inside of Dir2, you call:
/* Delete a file named "MyFile" (in Dir1/Dir2) */ InetDelete("Dir2/MyFile")Note: You must use InetDir's "DELETE" option to delete a directory.