Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rename file using parameters
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00591399
Message ID:
00591458
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform