check if drive exist
Hi,
I have this little code to check if a drive exist yes or no,
but it fails on a pentablet. I get an error specifying "Drives does not
exist".
This pentablet has a drive (the server) only when it is docked (and
connected to a lan).
And this is just exactly what I want to prevent and checked if it is docked
or not
to perform some syncronisation with tables on the server.
function checkdrive
lparameters chkdrive_
o = Create('Scripting.FileSystemObject')
lreturnvalue = o.Drives(chkdrive_).IsReady
release o
return lreturnvalue
Anybody a workaround
to check when a drive exist (and is ready) ?
thanks in advance
regards
christophe
--
.
Relevant Pages
- RE: check if drive exist
... > but it fails on a pentablet. ... I get an error specifying "Drives does not ... > to perform some syncronisation with tables on the server. ... > lreturnvalue = o.Drives.IsReady ... (microsoft.public.fox.programmer.exchange) - Re: check if drive exist
... > but it fails on a pentablet. ... I get an error specifying "Drives does not ... > to perform some syncronisation with tables on the server. ... > lreturnvalue = o.Drives.IsReady ... (microsoft.public.fox.programmer.exchange) - Re: check if drive exist
... > but it fails on a pentablet. ... I get an error specifying "Drives does not ... > to perform some syncronisation with tables on the server. ... > lreturnvalue = o.Drives.IsReady ... (microsoft.public.fox.programmer.exchange) - Re: After manually undoing a recent MS Update, my server is a mess
... Keep in mind that I have seen OEM drivers up there so given that you've blown that image away, I can't say for certain that the 'critical' was 100% pushed by Microsoft. ... External USB is no replacement for local drives. ... LOL I show my naivety here when I say that I showed great diligence in my blind application of any MS suggested resolution to "Critical Errors" on my Small Business Server Monitor Report. ... When I got the first BSOD, I booted from the orginal CD and chose to only restore the System files. ... (microsoft.public.windows.server.sbs) - Re: After manually undoing a recent MS Update, my server is a mess
... information to login to my server remotely to look around--hoping he could ... External USB is no replacement for local drives. ... stored on) and chose to only restore the System files. ... The "Cases" drive was actually a shared folder on an external ... (microsoft.public.windows.server.sbs) |
|