Shortcuts and relative address


  1. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
       #1

    Shortcuts and relative address


    On my second drive D:\ I want to create a shortcut in D:\Folder_1\ to open a file in D:\Folder_1\Folder_2\

    But Windows converts the resulting relative address to C:\ drive, not D:\ drive

    Am I tied to using a .VBS file as the shortcut trigger ?
    - or am I missing something in my "Location" string-path ?
    - or have I stumbled over a Windows bug ?

    Location: ..\Folder_2\MyFile ... is auto changed by Windows to C:\Folder_2\MyFile cannot be found
    - when I want D:\*\Folder_2\MyFile

    D: is not a static drive letter.

    Thank you :)
    Last edited by bawldiggle; 24 Jul 2016 at 20:15. Reason: add more info
      My Computer


  2. Posts : 708
    Windows 7 x64
       #2

    There is a way for short-cut to open a particular folder directly.

    If there is no folder icon on the task bar, then open the windows explorer.
    You can select the folder whether in C: or D: drives, click and drag to the task bar.
    It will auto create this Folder icon, if there is not Folder Icon on the task bar.
    At the Windows Explorer, select any number of folders, by click on folder and drag to the Folder Icon.

    To access directly, right-click on the Folder Icon.
    Then select the folder that you want, and it will open directly on the folder.
      My Computer


  3. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #3

    I want to open a HTML file (ie, MyFile as in post#1)
    - I do not want to open a folder to view

    Folder_1\shortcut to my_file
    Folder_1\Folder_2\my_file.html
    - Folder_1 is in a USB drive D:\

    So far I have this address in the Location field of "Create Shortcut" ...
    Code:
    %windir%\explorer.exe "..\Folder_2\myfile.html"
    ... and Start in: <empty>

    My shortcut opens WinExp at C:\
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:16.
Find Us