DirDate and Symlinks

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

Moderators: DataMystic Support, Moderators

opg70
Posts: 5
Joined: Fri Jun 20, 2014 2:38 am

DirDate and Symlinks

Postby opg70 » Fri Jun 20, 2014 4:56 pm

Hello,

Is DirDate actually able to modify the datetime of Symlinks created with mklink (or any other method)?

Thanks!

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

Re: DirDate and Symlinks

Postby DataMystic Support » Mon Jun 23, 2014 10:52 am

If you use DirDate on a SymLink, it will change the date of the file/folder that that SymLinks points to.

What behaviour were you after?
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

opg70
Posts: 5
Joined: Fri Jun 20, 2014 2:38 am

Re: DirDate and Symlinks

Postby opg70 » Mon Jun 23, 2014 5:53 pm

Hello,

I was hoping to change the date of the Symlink itself - as that would allow the users to have symlinks that have the same date as the original files - we want to use FSRM to archive outdated files to a different folder and replace them with Symlinks, but the Symlinks have the date of the operation not the date of the replaced files, thus the users cannot tell the filedates of the original files (as they can only see the symlinks).

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

Re: DirDate and Symlinks

Postby DataMystic Support » Tue Jun 24, 2014 12:11 pm

Hmm, I don't know of any way to do that yet. Sorry!
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

opg70
Posts: 5
Joined: Fri Jun 20, 2014 2:38 am

Re: DirDate and Symlinks

Postby opg70 » Tue Jun 24, 2014 7:36 pm

That's not encouraging :( Is there really no way to change the date of a Symlink once it's been created (or to create it with a specific date, the same as of the original file)? I was really hoping DirDate could work, as it was mentioned that Symlinks are supported.

Thanks anyway for looking into it...

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

Re: DirDate and Symlinks

Postby DataMystic Support » Tue Jun 24, 2014 9:58 pm

Sorry - I suspect there is a way but would have to dig into Windows internals to find it.
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

opg70
Posts: 5
Joined: Fri Jun 20, 2014 2:38 am

Re: DirDate and Symlinks

Postby opg70 » Mon Jul 21, 2014 6:28 pm

I guess it's very complicated then :(

If you manage to dig up something, I would be very interested.

Thanks!

opg70
Posts: 5
Joined: Fri Jun 20, 2014 2:38 am

Re: DirDate and Symlinks

Postby opg70 » Tue Aug 05, 2014 1:41 am

Apparently it is possible:
http://serverfault.com/questions/614414 ... 981#615981

Now to see if it can be implemented...

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

Re: DirDate and Symlinks

Postby DataMystic Support » Tue Aug 05, 2014 11:07 pm

Hmmm - doesn't look very different to the code we have already. Leave it with me! I am sure I can whip this out in a few days.
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

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

Re: DirDate and Symlinks

Postby DataMystic Support » Thu Aug 21, 2014 11:09 pm

The v6.3 release can can change the date and time of symbolic links (symlinks)
otherwise known as file reparse points.

http://www.datamytic.com/dirdate2.exe
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 6 guests