Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use long directory or file names in VFP?
Message
De
26/12/1997 08:05:04
 
 
À
26/12/1997 06:48:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00067966
Message ID:
00067968
Vues:
26
Directories that have blank spaces in them have to be surrouned in quotes for VFP functions.

Set Default to c:\Program Files will bomb, but
Set Default to "c:\Program Files" will work.

So you won't have to make an API call to create directories anymore.


>I am writing one general recursive routine and I have long directory names
>as well as long filenames generated dynamically. but vfp 'md' and 'copyfile'
>all this functions doesn't support long file names. if i try to make directory
>say ' my documents', it won't create it. same with copyfile() function. For this
>I am using API functions. but at sometimes for functioning purpose i need to
>change directory in foxpro which we usually do by 'cd' command. and 'cd' simply
>won't work with long directory names. Naturally Windows API does not have function
>to change foxpro path.
>Is there any way to do it via functions of foxtools.fll or any suggestion ?
>
>Thanks,
>Kaumir Shah
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform