Solved

Preventing changes on a file

Posted on 1998-05-14
1
208 Views
Last Modified: 2010-04-12
I know that you can make a file's attributes hidden, system or read-only. but is there any way to prevent another file with the same name from overwriting the current one? for example, i had to reinstall win95, and it deleted my autoexec.bat. anyway to prevent this from happening?
0
Comment
Question by:GreatOne
[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
1 Comment
 
LVL 3

Accepted Solution

by:
ckezema earned 20 total points
ID: 1016432
The only way of protecting a file like autoexec.bat is to change the attributes, like you stated, to read-only, and even hidden.

It is not a total protection though, because Win95 will allow you to delete or overwrite read only files, but will warn you first (if you do it in explorer...)

Anyways..another thing to do would be to make sure and back up any important files, then if they do get deleted or overwritten, at least you have another copy...

hope this helps.

Conan
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

695 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