Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing current directory and relative path
Message
De
03/11/2010 14:16:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01488018
Message ID:
01488022
Vues:
73
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>I'm using relative paths in the development. I have code that changes the current directory and then all my relative paths don't work anymore.
>
>Is there a method to fix the probem (still use the relative paths, but allow changing of the main directory)?
>
>It is not a problem in the compiled application, but I want to be able to test it in IDE.
>
>Thanks in advance.

Is it that when you change the main directory you want to change the path statement so that the paths that were relative to the previous main directory so that they are now relative to the new main directory?

It sounds like you should be using absolute paths.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform