Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
how can i delete C:\something\*.txt
 
Hi,
If the file is in the server, you can use the Folder object with the Delete() method.

If the file is on the client side, you can only do this if the client has Windows Scripting installed (and that you have the rights). Do a reference on the WScript object.

regards,
- Joseph ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Visit --> for (Replica) Watches, Pen, Handbags, Hats, Jerseys and more ... at prices that makes your code spin ...
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top