Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

File Name Warning at Boot

Apr 29, 2008 7:36AM PDT

Every time I boot my computer (WinXP Pro) I get the above warning saying:
"There is a file or folder on your computer called "C:\Program" which could cause certain applications to not function correctly. Renaming it to "C:\Program1" would solve the problem. Would you like to rename it now?"
A search came up negative: no such file or folder on my HD.
My anti-virus program tells me my computer is not infected, so what could be the problem? I am very leary to rename that file/folder as it is so close to "Program Files". This is very strange indeed!
Thank you for any suggestions,
Fred.

Discussion is locked

- Collapse -
File Name Warning at Boot
Apr 29, 2008 8:33AM PDT

Yes, "NoAdware"... no spyware detected!

- Collapse -
Try this ...
Apr 29, 2008 8:20AM PDT

open a command prompt (Start > Run >type in CMD.EXE and click OK) and type in the following:

REN C:\Program c:\Program1 then press the Enter/Return key

It should fix the problem and return everything to normal. There are a couple of applications that create a directory named Program that they don't even install any files into and it appears to actually be the fault of whoever coded the installer as they set it up to install their application.

In the rare instanxce that you might actually experience some problem because of renaming it is easy to reverse - just open a new command prompt and type in ren c:\Program1 c:\Program press the enter/return key and everything is as it was.

- Collapse -
File Name Warning at Boot
Apr 29, 2008 3:49PM PDT

Hi Edward!
response to the command was:
"The syntax of the command is incorrect"
I do not know why this sentence (tried it several times in case of misspelling), but it would not work anyway
since two separate searches told me there was no such file or folder...
NOD32 declared the PC clean of malware and so did NoAdware and AdAware...
Any ideas?
Thank you,
Fred.

- Collapse -
Spaces are important.
Apr 29, 2008 9:43PM PDT

That command, REN C:\Program c:\Program1 contains spaces, ie;

REN{space}C:\Program{space}c:\Program1

Did your command have the same spaces?

This may be a folder or a file. To check, use Windows Explorer, or My Computer, to search for all files and folders on the root directory, (the C: directory).

In My Computer click the Folder icon in the menu bar. This will change the display to a two-window paned display with Desktop showing in the left hand pane, and underneath that the words "My Computer". if this has a + sign by it, click that to expand My Computer. Highlight the "Local Disk (C Happy" and click the + sign besides that.

Make sure that "Show hidden files and folders" has been set by going to Tools > Folder options, then the View tab, and change the option under "Hidden file and folders". For good measure scroll down the list and unselect "Hide extensions for known file types", and also unselect "Hide protected operating system files (Recomended". These will display all hidden files and folders on the C drive.

Look down the list in the right hand pane for anything that says Program. If it is a file, tell us what file extension it is. If it is a folder, look inside the folder and tell us what is inside.

Whenever you have done this, return the hidden files and folder options above to their original values.

Mark

- Collapse -
File Name Warning at Boot
Apr 30, 2008 4:37AM PDT

Hi Mark,
Thanks for the reply.
Yes, the spaces were included and the search (as you suggested) was done several days ago when the problem first occured. The only mention of "Program" was the "Program Files" directory.
Any further ideas?
Thank you,
Fred.

- Collapse -
Re: folder c:\program
Apr 30, 2008 4:53AM PDT

I really think there IS such a file or folder.

Go into the command prompt and type
dir c:\progra*.*
and
dir c:\progra*.* /a:H

The first one shows the normal files and folders, the second one the hidden. Still only "program files"?

Kees

- Collapse -
File Name Warning at Boot
Apr 30, 2008 3:28PM PDT

Hi Kees,
Thank you...Your suggestion worked. Finally found C:\Program which was a 1kb file without extension (never showed up in any search!). Renamed the file and everything now seems to be OK.
Thanks again for your help (from way across the Atlantic?)
Fred.

- Collapse -
Glad you got it sorted.
Apr 30, 2008 5:45PM PDT

I'm intrigued why it didn't show up in Explorer, (My Computer), with hidden files and folders and hidden System files de-selected though.

Strange.

Mark

- Collapse -
File Name Warning at Boot
May 1, 2008 9:46AM PDT

Hi Mark,
So was I, that is why I started a new nickname for my PC. It's now officially known as the "Nutcase"...
Sometimes they just amaze me with the different "flukes" they can come up with!
Thanks for help, Mark
Fred.

- Collapse -
rename c:\program...
Apr 2, 2012 2:35AM PDT

im having the same problem but i run on windowsvista home premium. if it makes any difference. any the problem persists as i've tried everything mentioned above. is there any help u can give me?

- Collapse -
Thanks
Feb 9, 2010 6:46PM PST

Thx Kees that worked for me too(same problem)

- Collapse -
Oops! Rethink this Mark! :-)
Feb 10, 2010 3:35AM PST

Hey Mark, I've seen your work in this forum, and you're GOOD, you know your stuff, and you're usually better than this! Were you in a hurry when you wrote this post? Wink

Mark, I think the reason this didn't work is that the command,
REN C:\Program C:\Program1
needs to be done only after the folder is statused as unhidden. I am not sure that you can do that on a folder at the DOS prompt. Can you? and does the REN command work for changing the name of a folder?

You DO give him the instructions to show hidden files and folders, so the instructions I would have given after that would be to open My Computer or Windows Explorer, find the folder, right click on it and choose "RENAME" and then rename it from there. Isn't that easier?

~ Barry

- Collapse -
I had a bad experience...
Apr 29, 2010 12:45PM PDT

While there is a chance that this originated from some kind of Malware, the likelyhood is that your Windows OS is really taking to you. I have been researching different SFTP server daemons for use with CUCM backups and so one of the places I looked was in sourceforge.com at the openssh for Windows project. Let me pause to say that I support Sourceforge, including SipXecs. I simply feel that if a company can afford it and the business need is great enough, Cisco UCM is a better path. That said, I uninstalled my freeFTPd and installed the latest openssh for Windows. Having worked with some Ubuntu servers and workstations, I understood a little more about how the ported openssh package worked. I got it running after some difficulty, but decided to uninstall and revert back to freeFTPd. I restarted just for a warm fuzzy feeling only to get that same message.
I franticly poured over services and startup programs in msconfig. I figured malware as my SAV Proactive Threat Protection kept disabling. I rebooted to safe mode. That at least cripples most malware so you can rip it out manually, if needed. I still recieved the message. I then thought over some of the commands that I had to use to build the SSH group and passwd files. The ported .exe files that worked some of the SSH processes have issues and the configuration commands don't understand long names, or names with spaces. In this case you have to thing Win95 and use C:\PROGRA~1\ to access C:\Program Files\. I didn't do that on the first attempts at configuring and so a file was created with the filename truncated to c:\Program. Check any opensource or freeware configurations that you've made since your last clean restart. I just renamed the file on my own after finding it hidden in the c:\ directory. I'll delete it after I update my ghost image, just in case.