Changing Windows 7 File Shortcut names

A swapping-ground for Regular Expression syntax

Changing Windows 7 File Shortcut names

Postby dm_75 » Thu Aug 18, 2011 10:51 am

I wondered if there was a way to change shortcuts created in Windows 7 to make them into shortcuts created using Windows XP.

For example

if you create a shortcut to the file test.doc using Windows 7,
it becomes test.doc - shortcut

However if you were to create a shortcut to test.doc using Windows XP,
it would appear as Shortcut to Test.doc

I need a way to change many shortcuts from the Windows 7 style to the Windows XP style.

Is it possible to do this?
Regards,
Chris
dm_75
 
Posts: 3
Joined: Thu Aug 18, 2011 10:46 am

Re: Changing Windows 7 File Shortcut names

Postby Stefan » Thu Aug 18, 2011 11:40 am

FROM:
test.doc - shortcut
TO:
Shortcut to test.doc

TRY:
Remove(5), Words: ' - shortcut'
Add(7), Prefix: 'Shortcut to '


Untested. Try and report back.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Changing Windows 7 File Shortcut names

Postby dm_75 » Thu Aug 18, 2011 12:37 pm

Hello Stefan

Thanks for replying.

I opened the folder containing the shortcuts and right clicked and selected Bulk Rename here.

The filenames were all transferred into the utility but not the shortcut element, only the main filename.

i.e 1_test.doc was transferred, but not 1_test.doc - shortcut

Does this mean the alteration will not be possible?
dm_75
 
Posts: 3
Joined: Thu Aug 18, 2011 10:46 am

Re: Changing Windows 7 File Shortcut names

Postby Stefan » Thu Aug 18, 2011 2:25 pm

Hi Chris,
i don't understand what you want to say.

What means
Chris> "1_test.doc was transferred," ?
Is "transferred" for you the same as "renamed" or processed in the NewName column?



Chris> but "1_test.doc - shortcut" was not transferred
Chris> Does this mean the alteration will not be possible?
No.
It is no matter how the file is named. That should work with all possibilities.

We only search for ' - shortcut' to delete this if found, and add 'Shortcut to ' as prefix to all selected files.
Remove(5), Words: ' - shortcut'
Add(7), Prefix: 'Shortcut to '
(use without the single quotes)


Chris> "1_test.doc was transferred,"
It was "transferred" to ...? To what? To 'Shortcut to 1_test.doc' ?
Use Selection(12), Filter: *.lnk
to only see/rename shortcuts (links, lnk)
(click into the file list to make this filter work)


dm_75 wrote:I opened the folder containing the shortcuts and right clicked and selected Bulk Rename here.
The filenames were all transferred into the utility but not the shortcut element, only the main filename.
i.e 1_test.doc was transferred, but not 1_test.doc - shortcut
Does this mean the alteration will not be possible?
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Changing Windows 7 File Shortcut names

Postby dm_75 » Thu Aug 18, 2011 2:49 pm

Sorry to confuse you.
The problem was Bulk Rename Utility was not displaying the test.doc - shortcut
It was only showing the test.doc part.

I have decided to use Windows 7's Virtual XP Mode to create the shortcuts to filenames and then copy and paste them back into Windows 7 window.

I appreciate the help you have given me.

Chris
dm_75
 
Posts: 3
Joined: Thu Aug 18, 2011 10:46 am

Re: Changing Windows 7 File Shortcut names

Postby Stefan » Thu Aug 18, 2011 3:55 pm

dm_75 wrote:Sorry to confuse you.
The problem was Bulk Rename Utility was not displaying the test.doc - shortcut
It was only showing the test.doc part.


Ahh, now it makes sense to me. Thanks.

I just tried it on W7 32-bit
with the bru.exe only (meaning all is fresh, no old settings)
and browsed inside BRU to an folder with files and shortcuts.

There i used:
Selection(12), Filter: *.lnk
Remove(5), Words: ' - shortcut'
Add(7), Prefix: 'Shortcut to '

...and it worked as expected.


I have decided to use Windows 7's Virtual XP Mode to create the shortcuts to filenames and then copy and paste them back into Windows 7 window.

I appreciate the help you have given me.

Chris

Great you where able to worked it out yourself, no matter how :D
Thanks for the feedback.

CU
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Regular Expressions