finding certain files...

This is a discussion on finding certain files... within the C++ Programming forums, part of the General Programming Boards category; ok basically i have written a program... now it uses data files... they are named *.crpdata... basically im working on ...

  1. #1
    Unregistered
    Guest

    finding certain files...

    ok basically i have written a program... now it uses data files... they are named *.crpdata... basically im working on the uninstall par of my program... i want my to know how i can search for files ending in .crpdata and delete them ( i know how to delete ) i would like it to be able to search all disk drives for *.crpdata files...

    thank you for your time

  2. #2
    Unregistered
    Guest
    if the period just before the extension in a path name is unique it can be used to parse out the extension which can be compared to whatever you want.

  3. #3
    Unregistered
    Guest
    the names before the comma are random and set by the user... so i have to delete all *.crpdata

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program Deployment and DLL/OCX Files?
    By dfghjk in forum C++ Programming
    Replies: 5
    Last Post: 06-16-2008, 03:47 AM
  2. accessing all files in a folder.
    By pastitprogram in forum C++ Programming
    Replies: 15
    Last Post: 04-30-2008, 11:56 AM
  3. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 09:44 AM
  4. Finding files in a folder
    By ryeguy in forum C++ Programming
    Replies: 2
    Last Post: 10-07-2005, 02:00 AM
  5. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 04:30 PM

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