Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy and Move project Files
Message
De
29/01/2004 09:07:20
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00871754
Message ID:
00871763
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>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
Fil
Voir

Click here to load this message in the networking platform