Windows cannot find C:\Program

F

flel

I am using XP Pro. When i start my computer i get the following error
message.

"Windows cannot find C:|Program. Make sure you have typed the name
correctly, and try again. To search for the file, click the start button,
and
then click search"

When i click the OK button the computer boots up and appears to work
correctly, however, when i tried to install some bluetooth software i got
the
error message "Windows cannot find C:|Program" and the installation aborted.
I have searched for the file as suggested and it is not there. I have also
tried restore but the error message still comes up.

Any suggestions????
 
B

bxf

First, do you really mean C:|Program, as opposed to C:\Program? If so,
then it should not be difficult to use Regedit to scan and correct all
these invalid references to the correct one, which I'd guess should be
C:\Program Files.

Otherwise -

Somewhere in your Registry you have a reference to this incorrect
folder name. You can go Start > Run > Msconfig, and go to the Startup
tab. Examine the listed items for the incorrect one. Then, locate this
entry in the Registry and change it to refer to the foder that actually
contains the relevant program.
 
G

Guest

My mistake, the error message refers to C:\program and not C:|program as in
my original post.
 
B

bxf

Eddy said:
My mistake, the error message refers to C:\program and not C:|program as in
my original post.

OK. Again, somewhere in your Registry you have a reference to this
incorrect
folder name. You can do Start > Run > Msconfig, and go to the Startup
tab. Locate the entry that is in the message and note the complete text
of this entry. Then, locate this entry in the Registry and change it to
refer to the folder that actually contains the relevant program.

I am unable to be more specific because the system I'm using at the
moment is neither English nor XP, so I can't verify the precise names
of things. However, in the Registry, you need to locate the appropriate
entry (START? RUN?). I hope somebody will pitch in and help out here
with the correct entry name.
 
E

Enkidu

What 'bxf' said. Also, these entries are often caused by
partial names. eg the entry should read "C:\Program
Files/etc..etc.." *with the quotes around it*.

The system thinks that you are trying to run "C:\Program"
(without the quotes) with parameters of "Files\etc..etc.."
(without the quotes).

So, if the entry is one that you want, you can correct it by
surrounding the program name with quotes. If the program is
"blah.exe", and has parameters "parameter1", "parameter2"
then correct it to:
"C:\Program Files\path-to-blah\blah.exe" parameter1
parameter2 ....
Note that the double quotes are necessary.

Cheers,

Cliff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top