Solved

Preventing changes on a file

Posted on 1998-05-14
1
207 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

739 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