Cannot Change File Name

Eagle710

OSNN Senior Addict
Joined
13 Mar 2005
Messages
312
How can I make a file (txt) so that that the filename could not be changed. I have already made it ReadOnly but I don't want anyone to change the name of either. Any advice?
 

Johnny

.. Commodore ..
Political Access
Joined
12 Jan 2004
Messages
5,015
I don't believe you can do that ...
 

American Zombie

Moderator
Staff member
Political Access
Joined
23 Jun 2004
Messages
2,964
Windows renaming is actually a delete/create action.
If you take away the Delete/Write permissions on the file itself you should be able to prevent a rename operation.
 

Eagle710

OSNN Senior Addict
Joined
13 Mar 2005
Messages
312
I am trying to make the read only feature be carried over to a WinPE image I am creating.
 

Perris Calderon

dealer
Staff member
Political Access
Joined
24 Jan 2002
Messages
12,388
Windows renaming is actually a delete/create action.
If you take away the Delete/Write permissions on the file itself you should be able to prevent a rename operation.
did not know that, very interesting.

I suppose this is because a permanent record is kept in the master file table.

kewl to know
 

American Zombie

Moderator
Staff member
Political Access
Joined
23 Jun 2004
Messages
2,964
Not sure if it is because of the MFT record.
I just remembered reading about this a few years ago.

See if I can find the link.....

Link
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,492
Members
5,614
Latest member
arshita341