Roffen Posted August 14, 2014 Share Posted August 14, 2014 Hi, I dug out an old VFP program, re-installed VFP v9 on an XP computer to make some modifications on the program. But I soon got stuck on a banal problem: I create a variable like X = "\e:\My Documents\Visual Foxpro Projects\MyProject" and try to use it like CHDIR &x But that is impossible, I get invalid path error. The same code has worked before, why not now? I haven't tried to boot up my Win7 drive to test it there, yet but since I will keep using XP as long as possible, I hope there may be a solution. Link to comment Share on other sites More sharing options...
jaclaz Posted August 14, 2014 Share Posted August 14, 2014 Cannot say specifically in Visual Fox Pro, but a path has NOT a leading backslash, it begins with either the drive letter (followed by a colon) or the "special" "." or ".." directories for relative paths. jaclaz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now