Results 1 to 4 of 4

Thread: [RESOLVED] how to delete a file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2005
    Posts
    528

    Resolved [RESOLVED] how to delete a file

    i know hw t save a file and load a file but i dont know hw to delete a file
    how would i delete a specific file?

  2. #2
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: how to delete a file

    I believe you use the kill command like this.

    Kill "c:\YourFolder\SomeFile.txt"

    HTH
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how to delete a file

    Bare in mind that in order for Kill to work, the file can not be open at the time you wish to delete it.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2005
    Posts
    528

    Re: how to delete a file

    yeah thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width