

<HTML>

<!-- Mirrored from www.w3schools.com/asp/showaspcode.asp?source=demo_driveexists by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:11:37 GMT -->
<HEAD></HEAD>
<FONT FACE="Verdana, Arial, Helvetica" SIZE=2>
&lt;!DOCTYPE html><br>&lt;html><br>&lt;body><br><FONT COLOR=#ff0000>&lt;%<br>Set fs=Server.CreateObject("Scripting.FileSystemObject")<br><br>if fs.driveexists("c:") = true then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	Response.Write("Drive c: exists.")<br>Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	Response.Write("Drive c: does not exist.")<br>End If<br><br>Response.write("&lt;br>")<br><br>if fs.driveexists("g:") = true then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	Response.Write("Drive g: exists.")<br>Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;	Response.Write("Drive g: does not exist.")<br>End If<br><br>set fs=nothing<br>%&gt;</FONT><br><br>&lt;/body><br>&lt;/html><br>


<!-- Mirrored from www.w3schools.com/asp/showaspcode.asp?source=demo_driveexists by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:11:37 GMT -->
</HTML>
