Asp > Code Snippets
This checks if a drive exists , in this case C and displays a message
This checks if a drive exists , in this case C and displays a message <% Dim objFSO, msg Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.DriveExists("C:") Then msg = ("Drive exists.") Else msg = ("Drive doesn't exist.") End If Response.Write msg %>
Asp Codes
ActiveX
ADO
Array
Code Snippets
Components
Data Access
Date Time
Files
Graphics
HTML Formatting
Mathematics
Miscellaneous
Sessions
SQL
Strings
Techniques
XML