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,963
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,378
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,963
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

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,005
Messages
673,461
Members
5,599
Latest member
Larry Chris