Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. file and directory copy exclude directory

file and directory copy exclude directory

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingtutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Le Ridder Noir
    wrote on last edited by
    #1

    Does anyone have any idea how to copy all the files and subdirectories of a directory I choose and exclude all the debug directories(for backup purpose) Thanks in advance Le Ridder Noir Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.

    T L 2 Replies Last reply
    0
    • L Le Ridder Noir

      Does anyone have any idea how to copy all the files and subdirectories of a directory I choose and exclude all the debug directories(for backup purpose) Thanks in advance Le Ridder Noir Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      I'm using batch files and compression program for that. Basically, I have a batch file that searches .dsp file for lines containing references to project files. These lines look like this: SOURCE=.\myfile.cpp Then, I'm replacing "SOURCE=.\" with nothing; the result is list of files included by project. This list is passed to the archiver, which makes a compressed file. I'm pretty happy with this solution; the only problem I initially had was related to the resource files - it turned out that you can have some file (.ico, for example) referenced by .rc, but not .dsp. Tomasz Sowinski -- http://www.shooltz.com.pl

      1 Reply Last reply
      0
      • L Le Ridder Noir

        Does anyone have any idea how to copy all the files and subdirectories of a directory I choose and exclude all the debug directories(for backup purpose) Thanks in advance Le Ridder Noir Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.

        L Offline
        L Offline
        Le Ridder Noir
        wrote on last edited by
        #3

        Does anyone have any idea how to copy all the files and subdirectories of a directory I choose and exclude all the debug directories(for backup purpose) Thanks in advance Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.

        O 1 Reply Last reply
        0
        • L Le Ridder Noir

          Does anyone have any idea how to copy all the files and subdirectories of a directory I choose and exclude all the debug directories(for backup purpose) Thanks in advance Considderd to be the worlds fastest knoppenbonker. 10 Months of working experience with the worlds fastest copie paster(about 2000 lines a minute). And experience with the one and only NewEra Guru.

          O Offline
          O Offline
          Obliterator
          wrote on last edited by
          #4

          Not a true answer to your question but it may help... I use a neat little freeware program called CleanEx by Paul Dixon: http://www.elphin.com/products/cleanex.html Basically it deletes all the temp intermediate files made by VC in my debug and release directories. I simply run that and zip whats left! You can configure the types of files it deletes, so it may be useful to you. -- The Obliterator

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups