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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete a txt file 1

Status
Not open for further replies.

Gti

Programmer
Jul 23, 2001
99
PT
I have a temp txt file and i want delete them. How can i do it?

Tkx

;-)
 

Kill(pathname) is the function to use.

sdh
::)
 
If you're using Windows NT, then be careful!

Check out the following MSDN article:
OFF97: Kill Statement May Delete All Files in a Folder
ID: Q169093


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top