Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00379476
Message ID:
00381495
Views:
20
>I'd do a couple of things differently from how Jon did:
>
>for i = 67 to 90
>   x = chr(i)
>   if inlist(drivetype(x),3,4)
>      * Make sure the drive is ready (type 4 is either removeable
>        or a network drive)
>      * Put your search code here
>   endif
>endfor
>
>The important thing is to use the CHR() of the variable in the loop.

Yes, thanks. I've just discovered it by myself. :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform