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
Solved

Running a "bat" file from Netscape..

Posted on 1997-04-30
2
209 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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).

791 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