best program to fix thousands of folder shortcuts?

P

PD43

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?

Best bet is for you to google "bulk rename utility"
 
B

Big Al

PD43 said:
Best bet is for you to google "bulk rename utility"
IIRC bulk rename only renames files. I think the OP has shortcuts to
deal with. That's going to be a tough one.
 
P

PD43

Big Al said:
IIRC bulk rename only renames files. I think the OP has shortcuts to
deal with. That's going to be a tough one.

You're absolutely right.

I think he's f***ed.
 
R

R. McCarty

Read up on something called "Junction Points", can't guarantee it will
work but may be an alternative to renaming/recreating shortcuts.
 
P

Pegasus \(MVP\)

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you

Try R. McCarty's suggestion by running this command from a
Command Prompt:
linkd "D:\S" "D:\Your New Folder name"

This means that you don't need to change your shortcuts even though
folder S no longer exists. Note that drive D: must be an NTFS
volume.

Linkd.exe comes with the Windows Resource Kit.
 
P

Pegasus \(MVP\)

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you

You could use the script below as an engine to change your
shortcuts. The full implementation depends on where exactly
your shortcuts reside and what their names are.
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("d:\")
Set objFolderItem = objFolder.ParseName("Sciam.lnk")
Set objShellLink = objFolderItem.GetLink
objShellLink.Path = "d:\New Folder"
objShellLink.Save()
 
L

Lord Turkey Cough

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you

Switch to something like Linux which is a proper operation
system as opposed to the Mickey Mouse variety.
 
R

Rock

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you

George, check the date on your system. You're posting from the future.
 
L

Lord Turkey Cough

George said:
I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you


You might like to take a look at this.
http://www.robvanderwoude.com/amb_shortcuts.html
I am reading it myself, out of interest.
Will report back (probably)
 
H

HeyBub

Lord said:
Switch to something like Linux which is a proper operation
system as opposed to the Mickey Mouse variety.

Linux is only for miscreants, malcontents, and uber-geeks who think the DOS
command line is not inscrutable enough. Linux was developed so these
pokenoses and nit-pickers would have a playground separate from the folk who
want to have a meaningful computing experience.

The OP is trying to rectify an earlier decision that turned out to be less
than appropriate. Don't send him off to a sandbox used entirely by felines
and those who like to play in cat poop.
 
L

Lord Turkey Cough

HeyBub said:
Linux is only for miscreants, malcontents, and uber-geeks who think the
DOS command line is not inscrutable enough. Linux was developed so these
pokenoses and nit-pickers would have a playground separate from the folk
who want to have a meaningful computing experience.

The OP is trying to rectify an earlier decision that turned out to be less
than appropriate. Don't send him off to a sandbox used entirely by felines
and those who like to play in cat poop.


I don't think I was clear enough.
Windows as an operating system is a pile of shit, so even if
Linux was a sandbox, which is isn't, at least it would be mmore
sand than shit, in comparison Windows is a pile of shit of the very
runny and smelly variety.

To put thinks in perspective had he been using Linux this would
probably not be a problem, and the problem would have been resolved
without thinking by an experienced user, perhaps a little longer for
a novice.

Your flowery talk does not mask the rotten smell of windows.
 
E

Ed Covney

but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Maybe look at the "subst" command (in help).

Ed
 
L

Lord Turkey Cough

Lord Turkey Cough said:
You might like to take a look at this.
http://www.robvanderwoude.com/amb_shortcuts.html
I am reading it myself, out of interest.
Will report back (probably)


Anyway, having had a briefish look at it it would seem
it is possible with a list of the shorts and the files they point to, you
could create a script to do it.
However it may be just as big a pain creating that list.

However this might help create the list:-
http://www.nirsoft.net/utils/shman.html

So with that list and assuming the first link stuff works correctly
you should be able to create a script/batch file to do it all.

It might help if you got the Notepad++ editor (free) which,
because it has keyboard macros would be helpful in converting the
output from the second link into the required msdos batch file.
It can also do vertical cut and pastes (press alt when you select).
 
G

George

You could use the script below as an engine to change your
shortcuts. The full implementation depends on where exactly
your shortcuts reside and what their names are.
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("d:\")
Set objFolderItem = objFolder.ParseName("Sciam.lnk")
Set objShellLink = objFolderItem.GetLink
objShellLink.Path = "d:\New Folder"
objShellLink.Save()

thanks, although I see and now realize over time that all my shortcuts names
are different as I named them to represent facts of the target in one way or
another, and so not much is consistent.
I am grateful to notice that many of them when I click them - actually
automatically assume the right target which is nice, but some of them will
not.

I think the only thing that will help me is to get a program that will
identify broken shortcuts and list them, and let me click on them in their
GUI as I go along, and if they assimilate then fine, and if they don't then
that program will need to let me be able to edit them within itself. I've
given up on the idea of them be all automatically fixed in one swoop, and I
will find something that will do what I said above, and will a little at a
time go down its list and fix them. thank you for the replies and nudging my
thought process about it.
 
G

George

Anyway, having had a briefish look at it it would seem
it is possible with a list of the shorts and the files they point to, you
could create a script to do it.
However it may be just as big a pain creating that list.

However this might help create the list:-
http://www.nirsoft.net/utils/shman.html

Yeah you know I had downloaded that last night and was playing with it, but
it's not as full featured as I thought and hoped for one that was even
better, I haven't had a lot of time to play because of work but I will get
it done one way or the other, thanks.
So with that list and assuming the first link stuff works correctly
you should be able to create a script/batch file to do it all.

my names on the shortcuts are too random for that I see.

I've got my older copy of jvpower tools around here somewhere and I remember
that does something with shortcuts too...
 
G

George

I've got a folder that's named S that within it is a thousand different
folders and files on my D partition, and on other partitions there are a
thousand shortcuts to those different folders, but I've had to change the
name of that S folder to something different and I want to change those
shortcuts names from saying S to the current name.

Is there a program to help fix the name of these shortcuts in one swoop?
Maybe it would have a search and replace, or maybe it would mass fix the
addresses, I don't know, but naturally I don't want to have to do them all
one by one - which is almost impossible, thank you
 
G

George

Try R. McCarty's suggestion by running this command from a
Command Prompt:
linkd "D:\S" "D:\Your New Folder name"

This means that you don't need to change your shortcuts even though
folder S no longer exists. Note that drive D: must be an NTFS
volume.


It's FAT32 though, thanks for the reply though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top