Solved

Running a "bat" file from Netscape..

Posted on 1997-04-30
2
218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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