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.comICQ #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.