topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 7:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: name.lnk.lnk.lnk.lnk.lnk forever ?  (Read 6234 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
name.lnk.lnk.lnk.lnk.lnk forever ?
« 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
 :-*

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #1 on: January 02, 2013, 06:35 PM »
RegexRenamer

2013-01-03_11-33-00.pngname.lnk.lnk.lnk.lnk.lnk   forever ?

PS. I haven't the foggiest idea why it works, just that it does.
« Last Edit: January 02, 2013, 06:48 PM by 4wd »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #2 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....
 :-[

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #3 on: January 02, 2013, 08:59 PM »
2013-01-03_13-58-04.pngname.lnk.lnk.lnk.lnk.lnk   forever ?

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,508
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #4 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: "When faced with a problem, some people think 'I'll use regular expressions.' Now they have two problems.")

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #5 on: January 02, 2013, 09:58 PM »
(see attachment in previous post)

 :-*
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.....

 :)

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #6 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.
« Last Edit: January 02, 2013, 10:39 PM by 4wd »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #7 on: January 02, 2013, 10:35 PM »
Understood.

Best Regards

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #8 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.

barney

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,294
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #9 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>

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #10 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.

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.