setting the date of a folder

Questions about our File Management and Internet FTP plug-in
Locked
cp4w
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

setting the date of a folder

Post 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.
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Post 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.
NeoSoft Support
cp4w
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Post by cp4w »

fyi

it didn't work under xp and windows7.
Locked