General information
Category:
Coding, syntax & commands
>>In VFP6, cd ? presents the current directory as the 'root'.
>>In VFP8, cd ? has some sort of algorithm which will present either the current drive's root directory as 'root' or the 'My Computer' as 'root'
>
>Would CD GETDIR() work for you?
Yepp! Thanks.
>
>>In VFP6, justStem() on a directory return the right most directory name.
>>In VFP8, justStem() on a directory returns an empty string.
>
>The justStem() function doesn't know if the parameter passed is file name, directory or something else so it's not clear what you mean.
In VFP8, justStem("c:\dir\lvl\") return empty
but
justStem("c:\dir\lvl") return "lvl"
So , I adjusted the code to justStem( set('directory') )
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only