> Alternatively, has anyone got a 'MountedDisks' function for
> Windows that would return the equivalent list as 'the
> volumes' on a Mac?
Shell("Net share") or "net use" will list all mounted shares.
Also "subst" can be used. Very practical for ultra long paths.
To list the drives (physical) you have to use srvinfo from the
Reskit...
Cheers
Xavier
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, September 21, 2004 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: No Disk error & MountedDisks
>
> When testing for file and/or directory existence, has anyone
> figured a way to avoid the 'No disk' system error mesage in Windows?
>
> 'Catch' does not trap system errors...
>
> try
> get (there is a file tPath) # Poof!
> catch errorNum
> get false
> end try
> return it
>
>
> Alternatively, has anyone got a 'MountedDisks' function for
> Windows that would return the equivalent list as 'the
> volumes' on a Mac?
>
> if (cr& char 1 to 2 of tFilePath) is in cr& mountedDisks() then ...
>
> Very annoying!
>
>
> /H
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does
not accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee. If you are not the intended
recipient, any disclosure, copying, distribution or any action taken or omitted to be
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of its affiliates
or subsidiaries.
END OF DISCLAIMER
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution