Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to return from subdirectory?
Message
From
13/03/1998 11:55:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to return from subdirectory?
Miscellaneous
Thread ID:
00084481
Message ID:
00084481
Views:
82
To check if the subdirectory "mysubdir" exists I use code

on error do mkdir
CD mysubdir
cd ..
on erro

proc mkdir
md mysubdir
cd mysubdir
endproc

The program moves to the subdirectory OK, but it does not return to the parent directory when the command " cd .." is used.

How to make "cd .." working ?
TIA, AHWBGA

Ed
Next
Reply
Map
View

Click here to load this message in the networking platform