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

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

DirDate fails if filename contains an equals sign

Postby badkitty » Mon Jan 28, 2013 12:09 am

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: 2162
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: DirDate fails if filename contains an equals sign

Postby DataMystic Support » Tue Jan 29, 2013 7:49 am

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.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “FileWatcher, DirDate and other Support”

Who is online

Users browsing this forum: No registered users and 1 guest