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: All shortcuts point to the wrong Program Files folder


12 Jun 2013   #1

Windows XP
 
 
All shortcuts point to the wrong Program Files folder

Hi,
Today I was asked to help in a problem with shortcuts in Windows 7 which pointed to the wrong non-existing location. The issue refers too all shortcuts connected with the Program Files folder.

As I didn't know what is the issue the first idea was to create a completely new profile (i.e. user account) to check if the problem arises there as well.
Fortunately the new profile/account was correct, all links were fine. It meant the problem was connected only with the first profile. That's why I decided to recreate the IconCache.db file by removing it and restarting the machine. Unfortunately it didn't help.

The system itself is a Polish edition of Windows 7 and because it works on 64-bit platform there are 2 folders for applications:
a) (for 32-bit apps) "c:\Program Files"
b) (for 64-bit apps) "c:\Pliki programów (x64)"
Almost all programs are installed in b) but all corrupted links pointed to "c:\Program Files (x64)" instead of "c:\Pliki programów (x64)". Somehow the links contained the English name ("c:\Program Files (x64)") instead of Polish one ("c:\Pliki programów (x64)"). This was the reason they didn't work.

Do you have any idea what could happen and how to fix it ?

Thank you for help,
rafi


My System SpecsSystem Spec
.

12 Jun 2013   #2

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Where are the faulty shortcuts located? On desktop or in startmenu ... or?

normal is:
C:\program files =>for 64bits
C:\Program Files (x86) =>for 32 bits

open command prompt
Code:
set
Do you see this in the list?
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
-------

c:\Program Files (x64) is very abnormal.... are you sure?
My System SpecsSystem Spec
12 Jun 2013   #3

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Polish Windows 7 64bits shouldn't be localized. The 'Program Files' folder in different languages (Technical Article)
My System SpecsSystem Spec
.


15 Jun 2013   #4

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Hi Rafi, welcome to the Seven Forums.

First, you have got it wrong: A 64 bit windows 7 has two folders for programs as Kaktussoft already told:
  • Program Files > for 64 bit programs (executables and binary files)
  • Program Files (x86)> for 32 bit programs (executables and binary files)
Whatever language version of Windows 7 you are using, the Windows system files and folders always have same English names. In fully or partially localized language versions the folder names themselves are not translated, changed to respective language, they always remain in English. Instead the localization only translates the names of the so called links used by Windows Explorer.

In other words, for instance the folder Program Files (x86) is called Program Files (x86) in Polish Windows 7 although the Explorer also uses the link Pliki programów (x86), or the folder Users is called Users in Finnish Windows 7 although it can also be accessed in Explorer using the localized Finnish link name Käyttäjät.

See the screenshot for an explanation:
All shortcuts point to the wrong Program Files folder-2013-06-15_141309.png
(Click to enlarge.)
Therefore a shortcut should and must always point to the folder using its actual (English) name instead of the localized link.

Let's use the Internet Explorer shortcut as an example. In localized version (German in this example) the Windows Explorer shows the location of IE as C:\Programme (x86)\Iexplore.exe. However, as Programme (x86) is only a link instead of actual location, IE's shortcut must use the actual folder name Program Files (x86). Please notice also that for instance Command Prompt cannot find the Iexplore.exe executable file using the localized German link name but needs instead the full, actual folder name in English.

See the screenshot for explanation:
All shortcuts point to the wrong Program Files folder-2013-06-15_144320.png
All system folders can also be accessed in Explorer using their respective English environment variable names, regardless of the used Windows language version. Type %programdata% on Explorer addressbar and hit enter to open by default hidden ProgramData folder, %programfiles(x86)% to enter Program Files (x86), %temp% to open Temp folder, %appdata% to open your AppData\Roaming folder and so on.

A tip: you can always see the actual folder names and location in Explorer by clicking inside the addressbar:

Addressbar showing the localized link:
Name:  2013-06-15_144811.png
Views: 9
Size:  5.2 KB
Clicking the addressbar shows the actual folder names:
Name:  2013-06-15_144852.png
Views: 8
Size:  4.3 KB
Conclusion:
All shortcuts should always point to actual location of target files using the actual English folder names for Windows system folders. Any localized folder (link) names in shortcut target name will cause errors.

Kari


My System SpecsSystem Spec
Reply

 All shortcuts point to the wrong Program Files folder




Thread Tools




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:42 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33