Computing.Net > Forums > Disk Operating System > Running DOS commands inside HTML

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Running DOS commands inside HTML

Reply to Message Icon

Name: Diana
Date: April 16, 2001 at 13:37:43 Pacific
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



Sponsored Link
Ads by Google

Response Number 1
Name: The Doof
Date: April 16, 2001 at 15:19:08 Pacific
Reply:

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.



0

Response Number 2
Name: The Doof
Date: April 16, 2001 at 15:26:57 Pacific
Reply:

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.


0

Response Number 3
Name: Mark
Date: April 16, 2001 at 19:42:00 Pacific
Reply:

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


0

Response Number 4
Name: The Doof
Date: April 16, 2001 at 21:24:15 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


DOS Game--Invalid Drive S... PC Geos



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Running DOS commands inside HTML

[DOS] running a command within a ba www.computing.net/answers/dos/dos-running-a-command-within-a-ba/14232.html

Running dos commands from any Drive www.computing.net/answers/dos/running-dos-commands-from-any-drive/15918.html

dos commands www.computing.net/answers/dos/dos-commands/1655.html