DirDate fails if filename contains an equals sign

Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
badkitty
Posts: 2
Joined: Sun Jan 27, 2013 12:49 am

DirDate fails if filename contains an equals sign

Post by badkitty »

I am running DirDate v5.7 x64 on Windows 7 Professional x64.

I run the following dirdate commands to set all dates for a file called "3=.txt"

Code: Select all

"C:\Program Files\DirDate\dirdate.exe" MODIFIED= -date=03.01.2013 -time=13:30:30 "C:\Temp\Downloads\Test\3=.txt"
"C:\Program Files\DirDate\dirdate.exe" LASTACCESS= -date=03.01.2013 -time=13:30:30 "C:\Temp\Downloads\Test\3=.txt"
"C:\Program Files\DirDate\dirdate.exe" CREATION= -date=03.01.2013 -time=13:30:30 "C:\Temp\Downloads\Test\3=.txt"
This is the output of the above commands:

Code: Select all

Invalid date/time part C:\TEMP\DO
Valid parts are T/TIME,D/DATE,HOUR,MIN/MINUTE,SEC/SECOND,MSEC/MSECOND,YEAR,MON/MONTH and DAY,ADD,SUB
Invalid date/time part C:\TEMP\DO
Valid parts are T/TIME,D/DATE,HOUR,MIN/MINUTE,SEC/SECOND,MSEC/MSECOND,YEAR,MON/MONTH and DAY,ADD,SUB
Invalid date/time part C:\TEMP\DO
Valid parts are T/TIME,D/DATE,HOUR,MIN/MINUTE,SEC/SECOND,MSEC/MSECOND,YEAR,MON/MONTH and DAY,ADD,SUB
It seems that dirdate cannot set the date and time for file/directory names that contain an equals sign.

It would be nice if this could be fixed.

Thanks!
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: DirDate fails if filename contains an equals sign

Post by DataMystic Support »

Thanks - this has now been fixed in v5.8, available shortly:

* Fixed command-line filenames with embedded equals signs (=) being
interpreted as options. Unknown options are now treated as a filename
and flagged with a warning message.
Post Reply