Deleting unopened files...

This is a discussion on Deleting unopened files... within the C++ Programming forums, part of the General Programming Boards category; How do I delete a file that isn't opened for input or output.. I am using MSVS 6.0...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    22

    Deleting unopened files...

    How do I delete a file that isn't opened for input or output.. I am using MSVS 6.0
    <^>( * ; * )<^>

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    22
    P.S. I don't know if it helps, but it is a Windows console application...
    <^>( * ; * )<^>

  3. #3
    Unregistered
    Guest
    remove( "path\\file.txt" );

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    22
    Hmm... Seeming how remove() is a standard c function, and this is a C++ context thread, you people need to be more specific... But I already figured it out so thanks.
    <^>( * ; * )<^>

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with loading files into rich text box
    By blueparukia in forum C# Programming
    Replies: 3
    Last Post: 10-19-2007, 12:59 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. fopen vs. _open (for BIG image files)
    By reversaflex in forum C Programming
    Replies: 3
    Last Post: 04-01-2007, 12:52 AM
  4. Permanently deleting files
    By Yasir_Malik in forum Windows Programming
    Replies: 1
    Last Post: 08-01-2006, 10:07 PM
  5. deleting files not in fstream?
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 10-09-2001, 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21