Page 1 of 1

setting the date of a folder

PostPosted: Mon Nov 08, 2010 9:06 pm
by cp4w
fmSetItemInfo "FileList1" "C:\temp\xx" "DateTime" "m/d/yy" "1/15/2011 3:45pm"


when I try to use fmSetItemInfo to set the date of a file it works but the above code does not work to set the date of a folder.

PostPosted: Tue Nov 09, 2010 11:23 am
by Neosoft Support
Windows isn't allowing the folder's date to be changed - access denied. Evidently some versions of Windows require a different method for changing folder and file time stamps. I will make a note to look into this for the next update. Sorry for the inconvenience.

PostPosted: Tue Nov 09, 2010 12:00 pm
by cp4w
fyi

it didn't work under xp and windows7.