Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search drives for .SCX files using VFP .PRG?
Message
From
17/08/2001 17:07:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00545663
Message ID:
00545692
Views:
7
I think you will need a list of possible directories to search, as I'm not sure how to walk a directory tree without knowing folder names. However, if you have directory\folder names, you can use the = ADIR() command to get the *.SCX files. As for checking drives, you can walk through the alphabet (C to Z drives, or whatever may exist) and use DIRECTORY() to see if drive exists (example: ?DIRECTORY('g:') from command line returns .T. if you are mapped to a 'g' drive).

Hope this gets you started - good luck.

vic
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform