Information générale
Catégorie:
Gestionnaire de projet
>Does anyone have a routine that will copy the files from a project to a new location. I'm taking over a project from a fella who has everything in one directory (multplie project) and I need to pull about 100+ files screens,prgs,fr*,vc? that are part of this project move a copy of them to a new location.
I assume the problem is that it's hard to separate out the files you need, since moving them to a new directory is pretty easy - on first open the Project Manager will ask you if this is the new home directory and you can go from there.
To weed out the project files you could USE TheProject.pjx and read through the table, then copy TheFile.* to the new directory. The table structure of the PJX file is in C:\Program Files\Microsoft Visual FoxPro 8\Tools\Filespec\60pjx1.frx and 60pjx2.frx.
In the Downloads section look at ZipProj.prg - "This program (zipprog.prg) will add all the files associated with a project (pjx file) to a zip file.... Maybe you can borrow the guts of that program.
Finally, if you create a totally new project, add the Main.prg and then build it, VFP will ask you for locations of any missing files. What I usually do is retrieve the missing file from the other directory and then browse to it in its new location.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement