Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18768

Eng :: RE: SetAttrib date to 'Current' in a single click?

$
0
0
Author: tuska
Posted: Sun Jan 22, 2017 6:10 am (GMT -6)

This .bat file of MVV works perfectly for selected files:
(I call it "SetAttrib_date-to-Current_for-files.bat")
Code:
@echo off
if -%1==- echo Parameters: "%%WL"&pause &goto :EOF

if -%1==-go goto do_work
for /f "usebackq delims=" %%f in (`type %1`) do call %0 go "%%f" %2
goto :EOF

:do_work
%COMMANDER_PATH%\Tools\UnxUtils\TOUCH_Dateiattribute\touch.exe %2

... with this button ...
Code:
TOTALCMD#BAR#DATA
%Commander_Path%\Tools\UnxUtils\TOUCH_Dateiattribute\SetAttrib_date-to-Current_for-files.bat
%WL
WCMICONS.DLL,33
touch - automatically change Date/Time to current for selected files
%Commander_Path%\Tools\UnxUtils\TOUCH_Dateiattribute\

-1

Regards
Karl

TC 9.0a - 32 bit + 64 bit, Windows 10 Pro x64 Version 1607 (Build 14393.693)


Viewing all articles
Browse latest Browse all 18768

Trending Articles