I need to update one or many files with current date/time for creation date.
I've searched and can't seem to find this capability. CRTL + Right clicking a date just shows the date of the file in a variety of formats - with no way of changing it.
I'd like to be able to do this for one file or for many. The option to touch a file for creation or modification date would be useful.
Anyone know how to do this?
Chris
How to "touch" a file
Re: How to "touch" a file
The second last item in that list you are talking about is touch.agilefalcon wrote:CRTL + Right clicking a date just shows the date of the file in a variety of formats - with no way of changing it.
So to answer your question, select the files you want, CTRL+RClick (or toggle click) the Created Date column and select the Touch item, and repeat in the Modified Date column if you desire, or you can write a script to do both simultaneously.
The very simplest form of a script is selecting all files you want the date changing for, and then type
Code: Select all
timestamp;Code: Select all
help "idh_scripting_comref.htm#idh_sc_timestamp";File | File Special | Set Modified Date to Current
You can also do it via the info panel, first make sure it is visible with F12, then switch to the properties tab, select the files you want to change then click on the date you want to change and clear the edit box then press the green tick button, if you are selecting the files properly it will say "[Applies to all # selected items]"

Re: How to "touch" a file
Welcome to the forum.
Another way to do this is showing the info panel and click on any of the dates shown to change them.
Another way to do this is showing the info panel and click on any of the dates shown to change them.
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
-
agilefalcon
- Posts: 3
- Joined: 02 Feb 2018 05:05
Re: How to "touch" a file
Thank you, that was very useful.
Now if I can keep this application from going into "Not Responding" I'll be on a roll!
Thanks again.
Chris.
Now if I can keep this application from going into "Not Responding" I'll be on a roll!
Thanks again.
Chris.
Re: How to "touch" a file
You'll find quite a few threads in this forum about cases like this with various reasons and solutions. I'd suggest you check these out first and if your situation that leads to it hasn't been covered yet, add to an existing or start a new thread for your case providing a lot more info on your setup, when/how it happens & such.agilefalcon wrote:...Now if I can keep this application from going into "Not Responding"...
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club