Running DOS commands inside HTML
|
Original Message
|
Name: Diana
Date: April 16, 2001 at 13:37:43 Pacific
Subject: Running DOS commands inside HTML |
Comment: Is it possible to run DOS commands from an html page? I have an intranet & would like to be able to use the DOS COPY command to move files submitted in a form. My users have WIN95,WIN98, and WIN2000 and are using Internet Explorer 5.5. Thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: The Doof
Date: April 16, 2001 at 15:19:08 Pacific
Subject: Running DOS commands inside HTML
|
Reply: (edit)That would be a horrible breach of network security. Either use [FORM ACTION="mailto:an_account@root.com" METHOD=POST ENCTYPE="text/html"] to send the entries to an account at the central post office or use a CGI\PERL script to merge the entries into a database. 
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: The Doof
Date: April 16, 2001 at 15:26:57 Pacific
Subject: Running DOS commands inside HTML
|
Reply: (edit)Hmmm, as much as this really, really, really pains me to say it: You can use MS FrontPage 2000 to create the form and have it easily merge the data into Excel or Acess 2000 using Outlook 2000 as the carrier. FrontPage will look after all the XML scripting. Now, excuse me while I wash my brain out with bleach.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Mark
Date: April 16, 2001 at 19:42:00 Pacific
Subject: Running DOS commands inside HTML |
Reply: (edit)NO, an HTML file can not write to a client hard drive (unless you use cookies). It is best to use ASP Active Server Pages, and have the request write to a Access or SQL Database. Or, you can write a C++ program to recive the request via an HTML form, from there, the program can do the actual COPY. However, the HTML itself can not do the work. Mark
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: The Doof
Date: April 16, 2001 at 21:24:15 Pacific
Subject: Running DOS commands inside HTML
|
Reply: (edit)The database could reside in the clients folder on the server. In that case, CGI\PERL or XMS\XML scripting would work just fine. That's pretty common practice.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: