Can i copy/paste MODIFIED and CREATED or all timestamps at once via button(s) and apply them to selected folders or files? Maybe with short script?
Can anyone help me, please?
Can i copy/paste MODIFIED and CREATED or all timestamps at once via button(s) and apply them to selected folders or files? Maybe with short script?
Can anyone help me, please?
Okay i found this:
[quote="kundal"]You can do this with DOpus in 2 steps:
1) Copy timestamp of selected source file to clipboard (Check line 6 for the correct path to dopusrt.exe):
[code]Rename FILEINFO TO "{modifieddate|D#YYYYMMdd} {modifiedtime|T#HH,mm,ss}"
@script vbscript
Option Explicit
Dim strOpusHomePath
strOpusHomePath = "C:\Program Files\GPSoftware\Directory Opus\DOpusRT.exe"
Dim Shell
Dim Clip
Set Shell = CreateObject("WScript.Shell")
Function Rename_GetNewName(strFileName, strFilePath, fIsFolder, strOldName, ByRef strNewName)
Clip = strNewName
strNewName = ""
Clip = Replace(Clip,"-",":") ' Set the clipboard via Opus.
Shell.Run """" & strOpusHomePath & """ /CMD Clipboard Set " & Clip,0,True
End Function
[/code]
2) Apply timestamp to selected target files:
SetAttr MODIFIED "{clip}"
Is there a way to replace first script with simple DOpus internal command? Something like umm... CopyAttr MODIFIED?
No. There are better ways to write the script in Opus 11, but you'd still need a script of some kind, I think.
Does it not work in some way?
(Update: A ClipAttr script to do this was written. And there is also the ClipboardEx script mentioned below.)
No it works, but I thought we can make it easier...
Thank you for answer anyways!
You can use ClipboardEx for this now:
Example:
ClipboardEx COPYTIMESTAMPS
ClipboardEx PASTETIMESTAMPS