windows 7 - I want to get last user of files in directory -
i have tried use wmic datafile
information ton of files have. looks there no get
attribute see last person accessed file , created it. there alias can use this?
ultimately, want name, location of file, last date used, created it, , used last.
i tried using in batch file found on here , works not requirements...
@echo off set properties=name,lastmodified,lastaccessed :nextparam if "%1" == "" goto endparams set properties=%properties%, %1 shift goto nextparam :endparams set drive=%cd:~0,2% set folder=%cd:~2% wmic datafile (drive="%drive%" , path="%folder:\=\\%\\") %properties% > output.txt
i apologize ahead of time programming knowledge basic.
Comments
Post a Comment