Solved

Running a "bat" file from Netscape..

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

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 …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

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