Solved

Running a "bat" file from Netscape..

Posted on 1997-04-30
2
194 Views
Last Modified: 2013-12-25
I want to execute a batfile (made in DOS) from netscape. The batfile contains stuff like (it is supposed to delete files/images on the harddisk):
"cd\
cd programs
cd cache
del *.jpg"
How can I run this batfile? Is there a script I can create or ???

The script should be made with a minimum of usercommands
(the users who are to use this deleting file are not familiar with Internet)

Hope you can help me on this one...

Redrum
0
Comment
Question by:redrum
2 Comments
 

Author Comment

by:redrum
ID: 1854152
Edited text of question
0
 
LVL 4

Accepted Solution

by:
jshamlin earned 50 total points
ID: 1854153
There was a bug in MSIE 3.01 that allows you to execute commands on users' systems - but by and large, allowing programmers to delete files from the user's drive is something software firms want to guard against.  (If you can delete cached graphics, what's to stop someone else from deleting .dll files, or everything on the drive, for that matter?)

Moreover, while it's possible, through various WWW scripting and programming languages, to have read-access to files on the user's drive, write (and delete)  access is largely prevented by the common gateway interface - it would be a *huge* security hole if it weren't.

And so, the short answer is "no" - BUT you may be able to find a solution to your needs if you approach it from a different angle (All I can tell from your question is that you want to delet files off the users' systems.)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now