Programmatically pull owner/author, date created & date last accessed
Posted on 2004-10-20
Willing to do this in either a DOS script, VB, VBS or WMI (although not very familiar with the latter).
I'm creating a script (with your help) to pull the info in the subject on each MDB file found on my servers.
Currently, thru dos, I have the following, but it appears to be limited to date modified (or more accurately date created) only:
if "%srv%"=="" set srv=%computername:~0,7%
if exist e:\batch\%srv%-mdb.lst erase e:\batch\%srv%-mdb.lst
for /r g:\ %%I in (*.mdb) do echo "\\%srv%\g$%%~pnxtI" >> e:\batch\%srv%-mdb.lst
Can anyone help me rewrite this or utilize another prog lang to accomplish what I need?