Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Shortcuts and relative address

24 Jul 2016   #1
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 
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


My System SpecsSystem Spec
.
25 Jul 2016   #2
Eric3742

Windows 7 x64
 
 

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 System SpecsSystem Spec
25 Jul 2016   #3
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

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 System SpecsSystem Spec
.

Reply

 Shortcuts and relative address




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Change DNS A record relative to IP Server 2012
Hi, I'm trying to associate the name "server" with windows server 2012's IP both when connecting through VPN and when I'm already in the LAN. VPN clients do not have access to the LAN, so the the server IPs are different. Is there any tutorial you can point me to or can you tell me how I can...
Network & Sharing
Guide to Relative Paths
I've been toying whith a project in Win7 making use of relative paths (and relative paths shortcuts) to start apps and open files and folders on removable drives. A rather common problem it seems, since USB sticks came around. Then I realized how vague my ideas were about navigation in the...
Chillout Room
Random BSODs on Relative's laptop
A family member's laptop keeps BSOD-ing on them at random. The DMP before the most recent crash I was able to look at myself with the Debugging Tools for Windows. But the only thing I was able to read was: 'Probably caused by: ntkrnlmp.exe' That was before I got DM Log to collect everything else...
BSOD Help and Support
Relative path shortcuts help
Hello. I have a large number of folders and shortcuts on an external drive. Example: Folder 1 - Folder A - Folder B Folder 2 - Folder A - Folder B
General Discussion
Why is my OS installation so large relative to sum of files?
I performed a fresh install of Windows 7 on a SSD. Added a bunch of apps, and moved some of the user folders onto a data drive. Used space on the SSD shows as 65GB Sum of files and folders (with operating system files unhidden): 51.5GB 1. What accounts for this difference? It's not the...
Installation & Setup
Shortcut problem (relative path)
Hi everyone, Someone know how I could change my shortcut path, regardless of the machine ? My picture is in C:\Users\Manon\Desktop\perso\1.png. I made some research, I have to change the "Start in" in the properties of the shortcut. But what I have to write in ? Thanks for your advices,...
General Discussion


Our Sites

Site Links

About Us

Find 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 09:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App