search a file then copy the folder its in

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • soso
    Indigo Rose Customer
    • Jan 2007
    • 73

    search a file then copy the folder its in

    Hi all,
    I dont know if anyone will help me on this as im such a noob,but looking on how to search for a file in a folder and subfolders and then copy the folder the file is in to desk top.


    Help on this would be great thanks.
  • Intrigued
    Indigo Rose Customer
    • Dec 2003
    • 6138

    #2
    Take a look at the Help section for the following:

    File.Find()

    and...

    String.SplitPath()
    Intrigued

    Comment

    • soso
      Indigo Rose Customer
      • Jan 2007
      • 73

      #3
      Thanks for the help will look into that now


      Cheers

      Comment

      • Intrigued
        Indigo Rose Customer
        • Dec 2003
        • 6138

        #4
        You are welcome. Don't forget to use the Search option here in the forums. If you do not find what you want on the first page of the Search returned items, then make sure to check other "deeper" pages (eg. Page 1, 2, 3, etc.).
        Intrigued

        Comment

        Working...
        X