Fildate dating site

Rated 4.83/5 based on 701 customer reviews

# https://technet.microsoft.com/en-us/library/ee692801# TYPE $Args[0] | For Each # First of April at midnight: # TYPE $Args[0] | For Each # ----------------------------------------------------------------- # Pure Power Shell syntax: # GCI | For Each # ----------------------------------------------------------------- # Create TC button # Cmd=Powershell -No Profile -No Exit -Execution Policy Unrestricted "%COMMANDER_PATH%\For Each File Do_TIMESTAMP.ps1" # Param="%L" # [X] Run minimized REM TOTALCMD#BAR#DATA REM Powershell -No Profile -No Exit -Execution Policy Unrestricted %COMMANDER_PATH%\TOOLs\CMDs\For Each File Do_TIMESTAMP.ps1 REM "%L" REM C:\Windows\System32\Windows Power Shell\v1.0\powershell_ise.exe,1 REM For Each File Do_TIMESTAMP.ps1 REM REM 1 REM -1 # -----------------------------------------------------------------Thank you both, I will try the addons first!

Installing Powershell just for this might be overkill.

The copyright for it is most likely owned by the entity which produced or distributed the media.

- save the code to TC folder as "For Each File Do_TIMESTAMP.ps1" - add a button Cmd = Powershell -No Profile -No Exit -Execution Policy Unrestricted "%COMMANDER_PATH%\For Each File Do_TIMESTAMP.ps1" Param="%L" [X] Run minimized Select all files and execute this script. - - - A very simple script:# Power Shell Script for Total Commander # Stefan, 14. t=47504 # Adjust timestamp of all selected files # # Example: # FROM: # # TO: # # # Usage: # Create TC button # Cmd=Powershell -No Profile -No Exit -Execution Policy Unrestricted "%COMMANDER_PATH%\For Each File Do_TIMESTAMP.ps1" # Param="%L" # [X] Run minimized # # Tip: remove '-No Exit' to let the console window close after work. Count -eq 0) # //DEBUG: # Notepad $Args[0] # TYPE $Args[0] # //Prompt the user: $a = new-object -comobject wscript.shell $b = $a.popup("Continue changing timestamp?

(Inspect script first)",0,"Change Timestamp",1) if ($b -eq 2) # //Do the WORK: TYPE $Args[0] | For Each # ----------------------------------------------------------------- # // some alternatives: # Creation Time # Last Write Time # Last Access Time # Add Days # Add Hours # Add Milliseconds # Add Minutes # Add Months # Add Seconds # Add Ticks # Add Years # Usage: # Add Years(2) # add plus two years # Add Years(-4) # extract minus four years # ----------------------------------------------------------------- # // or: adjust days and hours and more at the same time # $My Time Stamp = New-Time Span -Days 1 -Hours 2 -Minutes 30 # TYPE $Args[0] | For Each # ----------------------------------------------------------------- # // or: set time only #TYPE $Args[0] | For Each # ----------------------------------------------------------------- # // or: set whole new date (MONTH. YEAR format depends on your system settings) # Suppose today is August 31, 2007.

Hi, is it possible to change the date/time of files relative to their existing date/time?

E.g., the selected files have a date of 2016-12--03-01 and I want to change the filedates back a year so that the new dates would be 2015-12--03-01.

Leave a Reply