Re: Check to see if a server is mounted
Re: Check to see if a server is mounted
- Subject: Re: Check to see if a server is mounted
- From: Dave Balderstone <email@hidden>
- Date: Mon, 20 Nov 2000 09:52:32 -0600
At 10:35 AM -0500 11/20/00, Billy Harbinson wrote:
>
Is it possible to check to see if a server is already mounted?
>
if not (exists disk "ServerVolume") then
try
mount volume "ServerVolume" on server "Server" as user name "UName"
with password "PWord"
--do stuff
on error
-- do error stuff
end try
end if
or
if (exists disk "ServerVolume") then
--do stuff
end if
Dave Balderstone
Director, Technical Services
Western Producer Publications, Saskatoon, Canada