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: I get a file name warning for some folder called "C:\Program" ?

11 Sep 2012   #31
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Could you, with the Snipping Tool, make a "snip" of that error msg for me?
Make a snapshot (Snip)
WIN | type SNIP | ENTER |
Drag the cursor around the area you want to snip. |
File | Save as | select save location and name | Save

WIN=key with the Microsoft logo on top.




My System SpecsSystem Spec
.
11 Sep 2012   #32
desktop

Windows 7 Home Premium
 
 

Karl, here's the snip:

My System SpecsSystem Spec
11 Sep 2012   #33
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Go To an Elevated Command Prompt


Elevated command prompt = Run CMD.EXE as administrator

WIN | type CMD.EXE | do not hit Enter |
in the PROGRAMS list, right-click on CMD.EXE |
choose "Run as administrator" |

Click on the YES button (if such appears)

WIN key = key with Microsoft log on top

for the guru:
WIN | type CMD.EXE | CTRL+SHIFT+ENTER key combo | ALT+Y keycombo


=========================================
=========================================

Why that you ask?

I would like for you to go to an elevated command prompt.

Once there,
enter
cd /d %systemdrive%\
and hit the enter key

now enter
attrib | clip
and hit enter

That put the output of the command into the clipboard.
Now enter
EXIT

and hit enter
that got you out of the command shell.

Reply to this post.
Use CTRL + V to paste the contents of the clipboard into your post.

Submit the reply.
My System SpecsSystem Spec
.

11 Sep 2012   #34
desktop

Windows 7 Home Premium
 
 

Ok, I did like you instructed:


A H C:\.BridgeLabelsAndRatings
A SH I C:\hiberfil.sys
A SH C:\pagefile.sys
A C:\Program
My System SpecsSystem Spec
11 Sep 2012   #35
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Interesting. c:\Program is not a system or hidden file.
You should be able to delete the file by going back to an elevated command prompt and typing
cd /d %systemdrive%\
del .\Program\* /s


Notice the "dot" before the slash

after doing the delete then do a dir command and see if \program is still there

what is that wierd C:\.BridgeLabelsAndRatings
My System SpecsSystem Spec
11 Sep 2012   #36
desktop

Windows 7 Home Premium
 
 

Karl,

How exactly do you type that Program script? I've tried several different ways and it keeps saying invalid file or something.

I tried exactly how you typed it, but it's not working.
My System SpecsSystem Spec
11 Sep 2012   #37
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

You should be able to delete the file by going back to an elevated command prompt and typing
cd /d %systemdrive%\
del .\Program\* /s

That MUST be typed precisely as it appears.
There is a trick you can use.
Use CTRL + C to copy those two lines then go to the elevated command prompt.
Now, you use RIGHT-CLICK with your mouse to paste.
Hit the Enter key so that the 2nd command gets executed.
My System SpecsSystem Spec
11 Sep 2012   #38
desktop

Windows 7 Home Premium
 
 

Ok, I did exactly as you instructed, but when I hit Enter I get: "The directory name is invalid.

I did a quick search for that C:\.BridgeLabelsAndRatings and I found it's associated with Adobe Bridge. The .bridgelabelandratings files contain metadata.
My System SpecsSystem Spec
11 Sep 2012   #39
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

I did make one mistake, although doesn't explain what you saw.

the two commands should read:
CD /D %SYSTEMDRIVE%\
RD .\PROGRAM /S

Answer the prompt with yes.

I created a \Program folder with files inside and carried out the commands. Here is what happens:

C:\Users\ks>dir %systemdrive%\
Volume in drive C is C OS
Volume Serial Number is 9CF9-EEDA

Directory of C:\

13-Jul-09 22:20 <DIR> PerfLogs
11-Sep-12 12:21 <DIR> Program
11-Sep-12 05:30 <DIR> Program Files
04-Sep-12 06:44 <DIR> Program Files (x86)
11-Sep-12 12:11 <DIR> TEMP
06-Sep-12 17:11 <DIR> Users
11-Sep-12 07:39 <DIR> Windows
0 File(s) 0 bytes
7 Dir(s) 30,669,582,336 bytes free

C:\Users\ks>cd %systemdrive%\

C:\>rd .\Program /s
.\Program, Are you sure (Y/N)? y

C:\>dir
Volume in drive C is C OS
Volume Serial Number is 9CF9-EEDA

Directory of C:\

13-Jul-09 22:20 <DIR> PerfLogs
11-Sep-12 05:30 <DIR> Program Files
04-Sep-12 06:44 <DIR> Program Files (x86)
11-Sep-12 12:11 <DIR> TEMP
06-Sep-12 17:11 <DIR> Users
11-Sep-12 07:39 <DIR> Windows
0 File(s) 0 bytes
6 Dir(s) 30,669,586,432 bytes free
My System SpecsSystem Spec
11 Sep 2012   #40
desktop

Windows 7 Home Premium
 
 

I did this again, just like you instructed, and after I chose "Y" for yes and hit Enter I get: "The directory name is invalid."

Just in case it did work and deleted the Program file I did what you instructed in post #33 and got this:

A H C:\.BridgeLabelsAndRatings
A SH I C:\hiberfil.sys
A SH C:\pagefile.sys
A C:\Program

Seems its still there.
My System SpecsSystem Spec
Reply

 I get a file name warning for some folder called "C:\Program" ?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
File and Folder - Add "Hide" and "Unhide" to Context Menu
How to Add "Hide" and "Unhide" to File and Folder Context Menu in Vista, Windows 7, and Windows 8 This will add Hidden File Attributes and Hidden Folder Attributes to the context menu of files and folders for all users to be able to hide or unhide one or more selected file(s), folder(s), and/or...
Tutorials
"Destination Folder Access Denied" when modifying Program Files folder
http://i.imgur.com/vIYQnPp.png Destination Folder Access Denied ------------------------------------ You'll need to provide administrator permission to copy to this folder. <Folder/Sub-Folder Name> Date created: <Creation Date> ------------------------------------ Continue Skip
General Discussion
Bringing back "are you sure you want to uninstal this program" warning
I accidently ticked "don't show this again" when the "are you sure you want to uninstal this program" warning came up in control panel, but I actually like it incase I click the wrong one. What's the easiest way to bring the warning back? Thanks
General Discussion
"Open File - Security Warning" when running a LNK file
Ever since I started using Windows Live Mail, I get the following every time I start it: How do I stop this?
General Discussion
File "BOOTMGR" & folder "BOOT" appear on TWO partitions...why?
OK. This is complicated; please be patient. Some months ago my PC (Win7 Ultimate x64) suddenly came up with the dreaded "BOOTMGR missing...press CTRL+ALT+DEL to continue..." error message. No idea what caused this; the OS had been operating flawlessly for almost a year. Anyway, I tried using a...
General Discussion
the task bar "folder" pinned "program"
I usually use it by pinning my frequently use folder, so when I right click, the list of "pinned program (folder)" will be listed out, easy for me to access them in a click. and one day, all the pinned programs gone. so I attempted to "repin" all vanish folders, but even if I click to pin...
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 01:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App