How to NOT change date on rename ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Alain Terrieur
Posts: 27
Joined: 16 Feb 2018 08:20

How to NOT change date on rename ?

Post by Alain Terrieur »

Hi guys,

How to avoid that files (or folder) have the date modified when renaming ?
The easy rename by slow double click.

Cheers.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How to NOT change date on rename ?

Post by Horst »

Alain Terrieur wrote: 28 May 2021 17:41 Hi guys,

How to avoid that files (or folder) have the date modified when renaming ?
The easy rename by slow double click.

Cheers.
That doesn't change any date for me.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Alain Terrieur
Posts: 27
Joined: 16 Feb 2018 08:20

Re: How to NOT change date on rename ?

Post by Alain Terrieur »

Crazy...
It's starting again...

Renamed the file:

Image

And the folder's date changed:

Image

So which settings ?
Cheers.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How to NOT change date on rename ?

Post by Horst »

Alain Terrieur wrote: 04 Jun 2021 11:03 Crazy...
It's starting again...

Renamed the file:

Image

And the folder's date changed:

Image

So which settings ?
Cheers.
If you change files in a folder Windows will always update the time stamp of the containing folder.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to NOT change date on rename ?

Post by highend »

If you don't like that behavior, turn it off.

Open an elevated command prompt and execute this:
fsutil behavior set disablelastaccess 1
One of my scripts helped you out? Please donate via Paypal

Alain Terrieur
Posts: 27
Joined: 16 Feb 2018 08:20

Re: How to NOT change date on rename ?

Post by Alain Terrieur »

Horst wrote: 04 Jun 2021 11:15 If you change files in a folder Windows will always update the time stamp of the containing folder.
Never noticed before...
Maybe because I'm doing it straight away.
Now, as my SSD crashed, I'm working on old restored files...
Thanks.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How to NOT change date on rename ?

Post by Horst »

highend wrote: 04 Jun 2021 11:26 If you don't like that behavior, turn it off.

Open an elevated command prompt and execute this:
fsutil behavior set disablelastaccess 1
That will not disable the folder date changes, it can't be prevented.
It only prevents the last access date change which is on larger NTFS volumes disabled by default.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

Post Reply