?
Solved

Running a "bat" file from Netscape..

Posted on 1997-04-30
2
Medium Priority
?
232 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 100 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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:
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month17 days, 7 hours left to enroll

831 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