When I make a shortcut to a file on an NT4 or Win95 machine then copy the shortcut to another machine and run the shortcut it remembers where it was created and runs the file on the first machine not the file on the local machine. Is there a way to stop this or a utility to make the path literal, the purpose of this is the last stage of an autonomous setup procedure including apps which needs to be able to place application short cuts in the start bar or all users
Some one correct me if I am wrong ,
I believe that you have to map a network drive to the application that you want to use
EG: g:\comp2\c:\program files\[application]
Then right mouse click on the application shortcut that you have made, and go into properties ,Then under the shortcut tab you will see target .It will have something like
C:\program files\[application].You need to add
C:\program files\[application] -g=application
Then you need to edit the auto exec .bat ,add this line
path [application] = c: [application]
*[application]means the name of the program you want to run.
I have only done this once so it may not be exactly right
I hope this helps
Cheers for the reply but the problem is that on machine 1 there would be a shortcut to for instance c:\my documents. I am trying to copy the application shortcut to machine 2 and when it is run have it open machine2's c:\my documents, but when you click on the short cut it opens \\machine1\c$\my documents . But if you look at the properties it is reporting to only store c:\my documents as the target the network parent machines name isn't shown or alterable.
I have even tried enclosing the path in quotes to force the OS to treat it as a literal path.
If you have two machines networked make a shortcut to the c: drive on the desktop copy it to the second machine and open it , it will open the wrong c: drive.
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke