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
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
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.
Summary: hello i want to run dos command from a batch file. it does not seem to give me the desired results. any suggestion geeks? /s command ======= c:\j2sdk1.4\java -jar c:\saxon\saxon7.jar "%%p\%look4file...
Summary: Hi how could any dos command from any drive as we can do with win98 startup disk for example if i am in drive C:\ or D:\ then how can i use dos commands there rather than going to my A:\ drive and the...
Summary: Windows 95/98 do support detail help for MS DOS 6.22 i.e. syntax, notes & examples. The normal/standard Windows 95/98 installation indeed does not include such support. In Windows 95 you can copy the...