>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
this worked in FP3.0 but have not tried it in VFP6.0
SET DEFAULT TO (Dir_Spec)
RENAME "DBFS." TO (Other_Dir_File_Name)
Dir_Spec is full path to parent directory
substitute current dir name for "DBFS."
and Other_Dir_File_Name is you new directory name.
patrick