Page 1 of 1

CSPro function to return date and time

Posted: October 3rd, 2015, 5:57 pm
by kakinyim
Hi all bloggers of this community.

Does anyone know what CSPro function I can use to return date and time a file was modified? Please share with me. In Windows command-line, there is FORFILES which can be combined as follows but it wont run for me.
string findDate = 'cmd /c FORFILES /P "C:\KIHBS\Received" /m data8071.zip /C "cmd /c echo @fdate @ftime" ';
string dateTimeofFile = maketext("%s", findDate );

Mutua