Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 10, 2016, 04:21:51 PM
  • Proudly celebrating 10 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 2388 times)

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,619
    • View Profile
    • Donate to Member
name.lnk.lnk.lnk.lnk.lnk forever ?
« on: January 01, 2013, 09:10:44 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: 4,477
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #1 on: January 02, 2013, 06:35:16 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:51 PM by 4wd »

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,619
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #2 on: January 02, 2013, 08:12: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: 4,477
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #3 on: January 02, 2013, 08:59:54 PM »
2013-01-03_13-58-04.pngname.lnk.lnk.lnk.lnk.lnk   forever ?

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,773
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #4 on: January 02, 2013, 09:02:27 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

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,619
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #5 on: January 02, 2013, 09:58:10 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: 4,477
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #6 on: January 02, 2013, 10:33:16 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:16 PM by 4wd »

Contro

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

Best Regards

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,092
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #8 on: January 02, 2013, 10:36:08 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,282
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #9 on: January 02, 2013, 10:40:28 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: 4,477
    • View Profile
    • Donate to Member
Re: name.lnk.lnk.lnk.lnk.lnk forever ?
« Reply #10 on: January 02, 2013, 10:55:51 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.