DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: Contro on January 01, 2013, 09:10 PM

Title: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Contro on January 01, 2013, 09:10 PM
I use a splendid program to create automatically shortcuts of the files selected from one folder to another.
Each month I close the month copying the links to a new folder.

But this month I observed that each month the extension is larger because the new one use a double, triple,..... lnk extension

I would like a simple utility to depure this behaviour and convert

name.lnk.lnk....lnk (n times ) into name.lnk

Best Regards
 :-*
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: 4wd on January 02, 2013, 06:35 PM
RegexRenamer (http://sourceforge.net/projects/regexrenamer/?source=dlp)

[ You are not allowed to view attachments ]

PS. I haven't the foggiest idea why it works, just that it does.
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Contro on January 02, 2013, 08:12 PM
 ;D
Simply perfect.
I have a little problema with this
thumbs.db.lnk
thumbs.db.lnk.lnk
and so on
and also a couple of pdf with .lnk extension and the the same file name.

The program don't let execute the renaming while double renaming exists.
And is possible to rename manually until certain point, but is not possible delete files from inside the program window.

But works very well.

Regular expressions ? a pending subject to learn because I think is difficult to memorize things you don't apply everyday....
 :-[
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: 4wd on January 02, 2013, 08:59 PM
[ You are not allowed to view attachments ]
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Tuxman on January 02, 2013, 09:02 PM
Regular expressions ? a pending subject to learn because I think is difficult to memorize things you don't apply everyday....
 :-[
The better you know them, the more you'll use them.

(Anyway, remember (http://www.myelin.co.nz/post/2003/3/9/): "When faced with a problem, some people think 'I'll use regular expressions.' Now they have two problems.")
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Contro on January 02, 2013, 09:58 PM
(see attachment in previous post (https://www.donationcoder.com/forum/index.php?topic=33511.msg312686#msg312686))

 :-*
I have several thumbs.db . Three or four and then is problematic because the program don't know which one must remain.....
So don't rename until that problem is solved.
So I go to the folder and deleted the innecesary ones.
But the program don't refresh , so I have to close first, and open after.....

 :)
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: 4wd on January 02, 2013, 10:33 PM
Delete all thumbs.db - they are a semi-useless file that just carries ephemeral data, (ala. pagefile).

Better yet, don't back them up in the first place, most decent file backup programs just ignore them.

To refresh the display, click on another folder than back again or hit F5.
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Contro on January 02, 2013, 10:35 PM
Understood.

Best Regards
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: Curt on January 02, 2013, 10:36 PM
But the program don't refresh , so I have to close first, and open after.....

yes, the program will refresh. Just place the cursor in the right window and press F5.
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: barney on January 02, 2013, 10:40 PM
I have several thumbs.db . Three or four and then is problematic because the program don't know which one must remain.....

Why rename them?  Just delete them.  Next time you access one of those folders in Explorer, it'll take just a bit longer as Explorer rebuilds a local thumbs.db.  And, to the best of my knowledge, only Windows - specifically Explorer - uses a thumbs.db file.

<addendum>
I see a couple of folk got ahead of me on this.  Oh, well, I'll post anyway - reinforcement  ;).
</addendum>
Title: Re: name.lnk.lnk.lnk.lnk.lnk forever ?
Post by: 4wd on January 02, 2013, 10:55 PM
Used to be able to turn it off in XP under Folder Options->View, in Windows 7 it's a bit different, see here (http://www.sevenforums.com/tutorials/10794-thumbnail-cache-enable-disable.html).

One of the first things I did on any new install since I don't use Explorer anyway - one, (or more), less files cluttering up the place :)

At least MS learnt to stop spreading them all over the drives.