Results 1 to 2 of 2

Thread: File search

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Nashville, TN
    Posts
    114

    File search

    Ran into a snag after my last post. I need to search a directory to see if a file exists if it does I can rename and copy it elsewhere.

    The files in the directory look something like this "_Here", "_there", "_Yonder". The length of the file does not matter. There is no extension. The only character common is the underscore.

    So my steps are: Look in a directory for (1) file that starts with an underscore. If it exists copy and move the copy to another location. If the file does not exist move on to the next directory.

    I have all the rest done except the file search coding.

    What I'm having to do today is get files out of our filevault to use. There are thousands of them. The vault manager is hosed til the software provider comes up with a fix.

    I'm brain dead right now........

    Thanks!
    Mike

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: File search

    Have a look at this if it helps. You can modify it to suit your needs.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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