Urgent: how to create a shortcut with a relative path?

I put a set of files and folders nested on a server on a network location.  (Use of office machines Vista; I don't know that the server is running.  The files are a text file and two Office 2007 files).  Users will copy this set-up files on their computer (there is a program of VBA macro in a Word document, they need).  They need tomorrow (Friday) and the shortcut path gives me fits!

The hierarchy looks like:

MainDir
File.txt
SubDir1
Shortcut to the Word file
SubDir2
Word file
Excel file

I don't think even the paths associated with the shortcut until I looked a little deeper.  Because I put all the files and folders together on my computer, when I did a drag - move in the folder on the server, the target properties and start in the shortcut always pointed at my computer!  So now, I'm afraid that a user copy this on their machine will have a shortcut that points to ~ my ~ computer, instead of the file on their computer.

I deleted the shortcut located on the server and creates a new one from the Word file in the directory on the server.  Better - I think - but it still points to the location of the server.  And it is even more likely that, when the user opens the shortcut, it will try to open the file on the server, vice the file on their computer.

How can I create a shortcut to this Word file that will pick up the relative path from around where to reside?  I can just click > properties and change the target and start in paths?  Or do I need a VBScript or VBA?

I have to get this done fast!  A kick - in the right direction is greatly appreciated.

Ed

Hi Ed,

It is not possible to create a shortcut with a relative path.

You can try the following allows to bypass and check if it helps:

Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the

The shortcut properties.

a. make a new shortcut to: cmd.exe /c start.

b. now right-click on it and get the properties of the shortcut (shortcut tab).

c. the shortened full path must have been set to this:

%windir%\system32\CMD.exe /c start.

d. set the directory of "start in" (i.e. DLG) to be a relative path:

(Example for a shortcut on the desktop)

...\SendTo

e. click on "change icon...". "and set" look for icons in this file: "to: %SystemRoot%\system32\SHELL32.dll and press ENTER.

Standard folder icon will probably be in the lower right.

f. now you can copy this file and simply change the "start in:" to make new related shortcuts directory.

NOTE: The above steps are just an example, so try this at your own risk. And check if it works.

You can also read the following article and check:

Folder redirection fails when you specify the mapped network drive or the Environment Variable

http://support.Microsoft.com/kb/321805

You can check out the following link and also post your request in the Technet forum for further assistance:

http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

Hope this information is useful.

Tags: Windows

Similar Questions

  • How to create a shortcut with relative path

    Hi all

    I'm a Linux user, so I don't have enough experience to solve this problem.

    How can I create a shortcut with relative path?

    Usually it is easy to create a shortcut with the absolute path for example:
    Windows accepts shortcut path with absolute c:\bin\app.exe, but he does not accept the following relative path:
    .\bin\app.exe

    Hi mbnoimi,.

    Thank you for using the Microsoft Answers Forums!

    To make a shortcut path parent here is a simple solution. Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the
    The shortcut properties.

    Follow these steps:

    Make a new shortcut to: cmd.exe /c start.

    Now, right-click on it and get the properties of the shortcut (shortcut tab).

    The shortened full path must have been set to this:
    %windir%\system32\CMD.exe /c start.

    Set the directory to "start in" (i.e. DLG) to be a relative path:
    (Example for a shortcut on the desktop

    )
    ...\SendTo

    Click on "change icon...". "and set" look for icons in this. "
    "file:" to:
    %SystemRoot%\system32\shell32.dll

    and press ENTER. Standard folder icon will probably be in the
    bottom right.

    Now you can copy this file and simply change the "start in:" directory
    to book new related shortcuts.

    NOTE: The steps above are just an example so try this at your own risk. And check if it works.

    Hope this information was useful.

    Let me know if it worked.

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to create a shortcut to the desktop as with IE?

    I changed my browser "Firefox" to "Internet Explorer and I would like to know how to create a shortcut to my desktop."

    You can drag the favorite icon on the left end of the address bar on the desktop to create a shortcut.

    You can also use an extension.

  • I have more than one partition on my hard drive, how to create a shortcut to a particular drive from the desktop?

    I fitted with a 1 TB drive to my macbook, then partitioned several times, all good so far, everything works.

    I use two connections, staff and work. My 'work' connection I have one partitioned drive named "work" which I use as an archive / storage for all work related data, far from any current activity. How to create a shortcut for just this partition to 'work' on the desktop?

    I tried Finder > Preferences > general - show these items on the desktop, hard drives of ticks. But it shows then all partitioned drives.

    The partitions must be included in the side bar of the Finder to choose. You can also click with the right button on a volume and select 'add to dock '. I don't know how to add an alias on the desktop.

  • How to create a shortcut to toggle the sound device?

    Anyone have any suggestions on how to create a shortcut to toggle the USB audio device in Device Manager?

    A shortcut is to enable this device, and the other shortcut is disable this device.

    Thanks for all the suggestions

    Hi oem7110,

    · Why you want to create a shortcut to enable or disable an audio device from Device Manager?

    You will be able to create the shortcut to Device Manager but no shortcut to enable/disable a device in Device Manager:

    a. right-click on the space empty where you want to create a shortcut

    b. click the shortcut

    c. in the type of space empty in devmgmt.msc

    d. click Next and follow the instructions in the wizard.

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to create a shortcut to desktop on Windows 7, like I did in Windows XP?

    In XP Pro, I created a shortcut on the desktop and pinned it to the toolbar. He was terribly helpful because I had several shortcuts on my desktop I've used often throughout each day. If I could remember how I created the shortcut to the desktop in XP Pro I could figure out how do it again to 7, but which is perhaps where I'm stuck - I don't remember. Perhaps the first question is whether a shortcut on the desktop can be created and pinned to the toolbar in 7? So if it's possible, how do we? All suggestions, ideas and comments that all care to offer will be greatly appreciated. Thanks, K.

    Hi kthr.

    I see you want to create the shortcut on the desktop and pin it in the tool in windows 7. I'll help you with this problem.

    1. What is the brand and model of the computer?

    2. have you made changes on the computer recently?

    Method 1.

    Follow these steps to create a desktop shortcut.

    1 - click Start, point to programsand then right click on the program that you want to create the shortcut to.

    2 - Click on create a shortcut.

    Method 2.

    Follow this link for pin a program.

    Pin a program to the taskbar: http://windows.microsoft.com/en-US/windows7/Pin-a-program-to-the-taskbar

    Let us know if you need assistance with any windows problem. We will be happy to help you.

  • How to create a shortcut for all users during installation

    Hi people,

    We have a desktop application that is distributed with Java Webstart and works on Win7 machines. Initially, users all connected using a connection by default, so creating shortcuts was not a problem. Now, because of new networking strategies, each user has his own connection.

    The problem is that the shortcut to the application is created in the user profile (for example "C:\Users\JohnDoe\", so that other users in the same machine can not run the application unless he or she installs the application again.)

    Is there a way to create this shortcut for all users using JNLP API or configuration in the xml file?

    If anyone has need of the solution: during installation I save the jnlp file in a directory accessible to all the world and then start the application using "javaws path\to\file.jnlp". More details in How to create a shortcut for java webstart available for all users on Windows 7?-stack overflow

  • 5.6.1 pages: How to create a table with more than 999 lines?

    5.6.1 pages: How to create a table with more than 999 lines?

    The table on Pages v5.6.1 line selector is limited 3-digit, as it is in Pages ' 09 v4.3. Either use LibreOffice Writer, who does not have any constraint line on processing tables 3-digit, or any application spreadsheet for top 3-digit row needs.

  • How to create Hlp files with labwindows 9.0

    Hello

    I used to create the dll with Labwindows 8.5 and use them with TestStand... The advantage is that with the help file, I can add information to the Fp file and loading the DLL with TestStand, the "?" button to open the help file...

    But the problem is that I can't find help with Labwindows 9.0 generation...

    Does anyone know how to create file hlp with Labwindows 9.0?

    The procedure with Labwindows 8.5 has been:

    Modification of the PS file, then generate the Option-> windows help

    Thank you very much

    Ronan

  • How to remove a shortcut with the command line?

    How to remove a shortcut with the command line?

    How to make a backup of the local users and groups with command line?

    You delete a shortcut, just as you would remove any other file.  A shortcut will end with the extension ".lnk".  So assuming you are trying to remove the shortcut named "Shortcut.lnk" which appears to the user 'Bob's Office, you use the button Delete (del) or 'clear' command by specifying the full path to the file.  (Remember to put filename in quotes if there is a space anywhere in the path or name) as in:

    del "C:\documents and settings\Bob\Desktop\Shortcut.lnk".

    What kind of a backup 'users and groups' you want to do?  If there is a backup of the users and groups as written in the registry, a good registry as C:\WINDOWS\ERUNT backup program that will make the command line.  If you are trying to backup all users and their data as well, then you are better off with a backup program.

    HTH,
    JW

  • How to create a shortcut icons in windows XP Home Edition of 2002 for starting the comp.

    I'm just learning how to move things on this computer. I am looking for step by step instructions how to create a shortcut icons posted on my desktopp for fast entry to various installed programs and the desired Web sites. Can you help / teach me how to - thanks.

    If you have a program in the start menu. All programs, (some other places as well), just: right-click | Send to | Desktop (create shortcut).

    For a Web site, save in my favorites first. Then, just left-click on it and drag it to the desktop or the taskbar.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • How to create an app with space name?

    Hi all

    How to create an application with the space, for example "Hello Word" name When I run my Simulator, I got ' Hello$ 20World "instead. I use the plugin for eclipse for development. I can see the Application descriptor for my application, and it shows the thin space. I tried to change the Blackberry project properties tab generate file output name, but it doesn't help in any way. Please advise...

    Goto Blackberry project properties

    Click the general tab

    Write in title = "Hello World".

    and you can see your title of the modified project

    I hope that you ask for it only!

  • How to create a shortcut on the desktop using Windows 8?

    I have Windows 8 System. How to create a shortcut to Word and Excel? I do not want on the task bar, I want them on my desk. Any help would be greatly appreciated.

    Thanks for the help!

    On Mon, 15 Sep 2014 16:34:30 + 0000, sjblume wrote:

    I have Windows 8 System. How to create a shortcut to Word and Excel? I do not want on the task bar, I want them on my desk. Any help would be greatly appreciated.

    Just swipe their EXEs on the desktop. When you release the mouse button
    keys, choose "Create shortcut here."

  • How to create a form with a submit in CC button animate using Actionscript 3

    How to create a form with a submit in CC button animate using Actionscript 3. The file will first be a SWF but will also have the flexibility to export as HTML5

    I've searched high and low for an example of code for this entry.

    Can someone help me please?

    Thank you

    You can use the same graphic assets of basis for two projects, but the coding will be different for everyone.  You must work on the project of a code at a time.

  • How to create dummy data with 1 TB

    Hi Expert,

    May I know how to create dummy data with 1 TB to test performance. ?

    Respect of

    Liang

    what columns you want to include? Basically, you can generate as many lines as you like to connect by queries - something like:

    create the table big_t

    as

    with

    generator1 like)

    Select rownum id

    of the double

    connect by level<=>

    )

    ,

    generator2 as)

    Select lpad ('* ', 1000,' *') col1

    of the double

    connect by level<=>

    )

    Select g1.id

    g2.col1

    of generator1 g1

    generator2 g2

    ;

    Of course, it is not 1 TB, but you can change the number of levels. Who said: I think you need to find a sensitive table first structure.

Maybe you are looking for