Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming Dir
Message
From
21/05/2001 10:39:54
 
 
To
21/05/2001 10:28:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00509442
Message ID:
00509451
Views:
21
Hi!

You can use RUN command and run the OS command to rename directory. You can do this in the .CMD file (batch for Windows OS similar to .BAT file for DOS) using the same directory renaming command. The command is 'rename {Old folder} {new folder name}
If folder name/path contains spaces, include names into the double quotes.

HTH.

>Is there a way to rename a directory (ie simulate the right click->rename in win 95 98. Can it be done from inside VFP? can it be done in a the batch/icon file that calls up a VFP app?
>
>
>TIA
>CG
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform