>>local lcCommand
>>lcCommand = '[move "' + lcOldDirectory + '" "' + lcNewDirectory + '"]'
>>run &lcCommand
>
>What are the square brackets surrounding your DOS command for?
Rich,
FoxPro has three sets of string delimiters, ', ", and [] tha above line uses them all in order to get lcCommand as a string that can be used by the RUN command. The " tacked around the directory names allows spaces to appear in the name.