123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

Engineering Colleges

BE Students

Training  Reports (updated)

Seminar Reports (updated

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
Shell Statement

--------------------------------------------------------------------------------

Description : The shell statement creates a new process that executes the required argument, command. Command is any valid DOS statement. Shell requires your server to have windows scripting host installed and proper permissions.

<%
Private Sub Shell(ByVal command)
Dim wshShell, boolErr, strErrDesc
On Error Resume Next
Set wshShell = CreateObject("WScript.Shell")
wshShell.Run command
If Err Then
boolErr = True
strErrDesc = Err.description
End If
Set wshShell = Nothing
On Error GoTo 0
If boolErr Then Err.Raise 5105, "Shell Statement", strErrDesc
End Sub
%>

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG