Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename file using parameters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00591399
Message ID:
00591458
Vues:
25
>I'm not exactly certain what you're doing, but based on one of Ed Rauh's posts yesterday, I'd think you might be able to do it by using the RUN command to call cscript.exe passing it the name of a vbs file that would do the work for you. This could be a vbs file that your program generates and sets the Name property. It'd use the short name to get the file reference and set the name property.


The idea of course to create the file in code makes it unnecesary to pass any parameters. I haven't thought about that. but John's solution works great also.

Thanks to all for the help, this was really an important issue to solve.
Christian Isberner
Software Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform