Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Way to MAKEDIR from inside FPW/VFP7?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00556612
Message ID:
00557261
Vues:
17
>>>Hi all,
>>>Is there a way to create a directory/folder programmatically from inside FPW/VFP7. I'm current in FPW2.6, but VFP7 came in today so we'll be re-deploying soon.
>>>
>>>I have data that has to utilize a new directory/folder every time the data is due. I'd really like to be able to do this on the fly, rather than instructing the user to check if a directory exists and create it if it doesn't. I have several apps that do this, but I haven't found anything that lets me do an MD, MKDIR or MAKEDIR from inside of FP.
>>>
>>>Perhaps I could use a batch file with %% parms, but that's not real pretty. Any suggestions?
>>>
>>>Pete
>>
>>Pete,
>>In VFP MD and MKDIR is a command. If you need it for FP2.x then inform me and I'll post you a binary routine callable from FP.
>
>Cetin,
>
>Naw, you don't need that. MKDIR() is in Foxtools.< g >


Wow, talk about service!

Thank you very much Cetin and George.

I have one dumb question for you George. If I use Foxtools, will the function stay in the app if it is called from a location (across LAN)without FoxPro 2.x?

Last question for both Cetin and George: Who gets the stars, or can I give them to both of you?
DOCASE
   CASE Cetin AND George both right
      IF allowed
         GIVE stars to Cetin AND  George
      ENDIF
   CASE Cetin binary and !George Foxtools
      Give Stars to Cetin
   CASE George Foxtools and !Cetin binary
      Give stars to George
OTHERWISE
   Call for arbitration
ENDCASE
Pete
Peter Adams
FoxPro Programmer
Compu-Mail

Heisenberg was probably right...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform