07-10-2024, 09:55 AM
Thank you, SMcNeill, using the Powershell command was not as straightforward as expected but it worked perfectly in the end.
The suggested SpriggsySpriggs system is a classic example of "lateral thinking" which always has a certain charm! However, certain files cannot be processed in that way without compromising them.
The correct version, in my case, of the SHELL code is similar to the following:
___________
file$ = "C:\provax\provax.pdf"
nuovadata$ = "18/12/2021 08:00"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).creationtime=$(Get-Date '"+ nuovadata$ +"')"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).lastaccesstime=$(Get-Date '"+ nuovadata$ +"')"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).lastwritetime=$(Get-Date '"+ nuovadata$ +"')"
The suggested SpriggsySpriggs system is a classic example of "lateral thinking" which always has a certain charm! However, certain files cannot be processed in that way without compromising them.
The correct version, in my case, of the SHELL code is similar to the following:
___________
file$ = "C:\provax\provax.pdf"
nuovadata$ = "18/12/2021 08:00"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).creationtime=$(Get-Date '"+ nuovadata$ +"')"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).lastaccesstime=$(Get-Date '"+ nuovadata$ +"')"
SHELL _hide "powershell $(Get-Item '" + file$ + "' ).lastwritetime=$(Get-Date '"+ nuovadata$ +"')"