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: the folder path '?program files' contains an invalid character

18 Nov 2017   #11
samuria

win 8 32 bit
 
 

It was suggested a couple of times to rename


My System SpecsSystem Spec
.
18 Nov 2017   #12
samuria

win 8 32 bit
 
 

It was suggested a couple of times to rename
My System SpecsSystem Spec
18 Nov 2017   #13
ziadmario54321

Windows 7 Ultimate SP1 (32-bit)
 
 

it's named "Program Files".


My System SpecsSystem Spec
.

21 Nov 2017   #14
ziadmario54321

Windows 7 Ultimate SP1 (32-bit)
 
 

????
My System SpecsSystem Spec
21 Nov 2017   #15
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Quote   Quote: Originally Posted by Ranger4 View Post
Hi ziadmario54321, welcome to the Forum.

This MS website might help you & it does suggest a registry edit, so it would be a good idea to back up the registry first. It also mentions changing or renaming hard drives, so fi that applies to you you may need to take note of that.

Error 1324 The path Program file Contains an Invalid Character. - Microsoft Community
Then try either of these two approaches :

Quote:
Remove Invalid Character from the Registry
You can search the Windows registry for the invalid character that is displayed in the 1324 error message and replace all instances of the invalid character with the correct character. For example, if the 1324 error message refers to "system32/", you should search for "system32/". If you find any instances in the registry, modify them, so that the registry values correctly reference the System32 folder.
1.ClickStart, and then click Run. In the Open box, typeregedit, and then click OK.
2.On theEdit menu, click Find.
3.In theFind What box, type the character string reported in the 1324 error message, and then clickFind Next.
4.If you find the problematic string, make any necessary changes, and then press F3 to find the next occurrence.
5.Repeat step 4 until you locate and change all incorrect references.
6.On theRegistry menu, click Exit.
7.Re-run Office Setup.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
Or:

Quote:
Also, this behavior can occur if you type an invalid destination in the Folder name box on the Change Current Destination Folderscreen.
To resolve this issue, specify a destination that resides on a local hard-disk drive in the Folder name box on the Change Current Destination Folder screen.
Source: https://answers.microsoft.com/en-us/...93e4c3b?auth=1
My System SpecsSystem Spec
21 Nov 2017   #16
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Oh the joys of Ultimate.

Take it this a pretty new install of W7.
have a look at this MS blog, its an explanation and a fix re Iko's 2nd quote.
Basically its redirecting the installer to the wrong place.

Error 1324. The folder path s Blog

Roy
My System SpecsSystem Spec
27 Nov 2017   #17
ziadmario54321

Windows 7 Ultimate SP1 (32-bit)
 
 

tried before i've posted this thread, still.
My System SpecsSystem Spec
30 Nov 2017   #18
ziadmario54321

Windows 7 Ultimate SP1 (32-bit)
 
 

update: i used regscanner to find all of these registries which includes "?Program Files", and deleted all of them, the installer worked. even every other installer that uses the windows installer thingy.
My System SpecsSystem Spec
30 Nov 2017   #19
Ranger4

Windows 7 Home Premium 64 bit sp1
 
 

Thanks for getting back & glad to hear it's now fixed. Well done.
My System SpecsSystem Spec
02 Dec 2017   #20
behutchins

windows 7
 
 

Click on the windows icon on the bottom left, search for cmd, right click on cmd and run as admin. Type in chkdsk /f /r and let it run check disk. Then after that's done, type in sfc /scannow and check for problems with the operating system. get back to us if need be.

And glad you found the issue. A bit of advise though, don't play around with the registry files too much without knowing what you're doing, if you corrupt your registry, look forward to reinstalling windows. I am a computer tech, I have an AAS in computer maintenance, and trust me, messing with the registry too much can kill your computer.
My System SpecsSystem Spec
Reply

 the folder path '?program files' contains an invalid character




Thread Tools




Similar help and support threads
Thread Forum
Internal Error: Failed to get path of 64-bit Program Files directory.
I have been getting the above error on every 64-bit software I try to install, I also looked at the keys in the registry for CurrentVersion and there is nothing there, which worries me. Is there a way to fix this without reinstalling windows?
Software
Line 1 Char 110 Error Invalid character Code 800A0408 Source Microsoft
:cry: I Got A Error When Opening My File it Says Line 1 Char 110 Error Invalid character Code 800A0408 Source Microsoft VBScript compilation error. Can Someone Help Me?
General Discussion
Folder with invalid character does not open.
Hi all, I have encountered an issue where a folder will not open under Windows 7. Selecting the folder does nothing, and right-selecting the folder does not bring up any context menu. I happen to know that there is media content inside the folder. Closer inspection of the folder name gave...
General Discussion
Can't uninstall stamps.com - invalid character in My Desktop
I tried installing the update to stamps.com to version 12, which uninstalls the old version first. The stamps.com uninstaller chokes with the error "The folder path My Desktop contains an invalid character". I am running a current version of Windows 7 within Parallels Desktop 9 on a...
General Discussion
Folder Path Contains an Invalid Character
Trying to install a program (myplex) and for both of the programs, upon install I get the error " Folder Path Contains an Invalid Character". What is that!! Can I fix it!?
Installation & Setup


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 01:24.
Twitter Facebook Google+