Link to home
Start Free TrialLog in
Avatar of j-enos
j-enos

asked on

Shortcuts contain hidden UNC mappings???

I have an infrastructure that requires me to copy shortcuts around from one machine to another, and of course the shortcut references paths that those machines have in common.  However, when I send the .lnk file (the shortcut) to a text editor, the name of the original machine is included in the file.  Is there a way to copy/create shortcuts that leaves this out?  Here is an example of what a shortcut looks like in a text editor:  \\YKTTSCS01\C$ is a machine name that is not referenced ANYWHERE when viewing properties of the shortcut itself.  Please help!

L        À      F»        "”Aµ¼ "”Aµ¼ "”Aµ¼ 8L        W          ˆ   àOÐ ê:i¢Ø +00 #C:\                 î 1     a$yv usr   1     a$+u ss97   1     a$u wordpro   2  8L ="à:  wordpro.exe    t            -   4   W         ÒÚMh    C:\  y#                \\YKTTSCS01\C$ usr\ss97\wordpro\wordpro.exe % . . \ . . \ . . \ u s r \ s s 9 7 \ w o r d p r o \ w o r d p r o . e x e  c : \ u s r \ s s 9 7 \ w o r d p r o \  / L E N
Avatar of Otta
Otta

Is "\\YKTTSCS01\C$" the "host-name" of the original machine,
followed by the drive-letter (C:) of the boot-drive ???
Avatar of j-enos

ASKER

I think that the fact that C is the boot drive is not pertinent here.  I can look at shortcuts from other drives, and it ALWAYS has the actual UNC path included somewhere in the .lnk file.  I can see the purpose in this feature, but there is also a real need for functionality to disable it!  Anyone have a clue?
The shortcut points to the host named 'YKTTSCS01',
and to the 'C:' drive on that machine.
So, it is "pertinent" to *FULLY* "qualify" the UNC,
by pointing to the host and to the drive-letter.
If you want to "edit" the short-cut,
to substitute one host-name for another,
then you are welcome to do so.









ASKER CERTIFIED SOLUTION
Avatar of TSauer
TSauer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of j-enos

ASKER

Thanks very much TSauer... I KNEW I had seen this issue come up before, and a solution.  I haven't tested it yet, but I'm confident it will solve my problem.

Otta- you sound like a know-it-all who just got NT yesterday and learned what a domain is, and needs to tell someone about it.  Obviously, the UNC name is needed if the shortcut is "intended" to point to the original location.  This does not show up in the properties of the shortcut, thus it cannot be changed.  You cannot simply edit the .lnk file and remove the pointer or substitute another machine name.  Test prior to preach, my friend.
J-ENOS, how very unprofessional of you to post a "flame"
on a forum called 'EXPERTS EXCHANGE'.  
The shame is upon you, for exposing your immaturity to the world.
Avatar of j-enos

ASKER

The pot calls the kettle black, and the paradox continues... who gets the last post before the discussion is finally brought to a private level?  Not to under-rate my own value of the Experts-Exchange forum, but it is still missing some vital (and basic) functionality that prevents it from becoming the best friend to any System Engineer- and that is a SEARCH capability.
Otta- I agree, that was unprofessional of me- and should have been sent to you privately.  My apologies to whomever is drowning in this wasted bandwidth.  On the other hand, Otta, it WAS a message that you need to recognize.
> My apologies ...
> On the other hand, ...

Some apology -- you offer it, and then you retract it.

Enough wasting of my time.

> Check here if you'd like an email notification whenever this question is updated

No thanks, I have better things to do.