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   #51
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

You just ran a DIR command and c:\Programs did not show up.

The directory may have been there at one time.

At the time you ran the DIR command, the file was not there.
As evidenced by the output of the dir command that you submitted.
Just 3 posts back


My System SpecsSystem Spec
.
11 Sep 2012   #52
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Is there a checkbox to perform this check at startup?
If the file returns, is the content the same as what parmiter describes? you mentioned removing programs you no longer used, was Citrix one of them?
Do you recall ever running Imdiag?

Just posting what I found - I defer to Karl.

Quote   Quote: Originally Posted by http://www.parmiter.com/microsoft/windows-2003/2009/06/RP601
File Name Warning: There is a file or folder on your computer called c:\program causing problems. Rename?

Posted on June 26th, 2009
Have seen the following error while logging onto a server:
File Name Warning
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 this problem. Would you like to rename it now?
Rename | Ignore


This error occurred on a server that has previously been a Citrix License server and the tool lmdiag.exe had been run on the server creating the following file:
program
in the root of the c: drive.
Opening this file in notepad shows:
lmdiag – Copyright (c) 1989-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
FLEXlm diagnostics on Thu 9/6/2009 09:46
To resolve the problem, simply remove or rename the file
It seems that lmdiag has a bug or coding error which generated this rogue file.
My System SpecsSystem Spec
11 Sep 2012   #53
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Karl - it is there but Program, not Programs!

Quote   Quote: Originally Posted by desktop View Post
Karl, here's the command prompt results:


Volume in drive C has no label.
Volume Serial Number is 0275-3BF8

Directory of C:\

09/11/2012 02:38 PM <DIR> Autoruns
02/23/2012 01:12 PM <DIR> brodnt
05/23/2012 12:20 AM <DIR> mp3-quality-modifier
03/14/2012 12:11 PM <DIR> NVIDIA
07/13/2009 11:20 PM <DIR> PerfLogs
05/25/2012 06:17 PM <DIR> ProcessExplorer
10/06/2009 11:57 AM 96 Program
09/10/2012 02:45 PM <DIR> Program Files
09/10/2012 03:14 PM <DIR> Program Files (x86)
08/09/2012 03:01 PM <DIR> SSA
07/03/2012 01:24 PM <DIR> Users
04/23/2012 09:07 PM <DIR> VueScan
09/11/2012 10:32 AM <DIR> Windows
1 File(s) 96 bytes
12 Dir(s) 237,760,684,032 bytes free


The other files you wanted are attached.
My System SpecsSystem Spec
.

11 Sep 2012   #54
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Nope. That is a file with the name of "96 Program"

karl
My System SpecsSystem Spec
11 Sep 2012   #55
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Desktop.
I want you to run a one-line powershell script which will put a file called:
DirOfRoot.txt on your desktop.

Attach that file.

# STEP 1 ** RUN POWERSHELL AS ADMINISTRATOR
WIN key | type POWERSHELL | do NOT hit ENTER |
in the PROGRAMS list, right-click on WINDOWS POWERSHELL |
choose "Run as administrator" |
Click on the YES button (if such appears)

# STEP 2 ** COPY AND PASTE
COPY the script using CTRL+C,
PASTE into Powershell
---Right-Click at the PowerShell Prompt
---(Ctrl+V does not work)

WIN key = key with Microsoft logo on top

Script:
dir $env:systemdrive\ -force  $env:userprofile\desktop\DirOfRoot.txt 
thanks,
karl
My System SpecsSystem Spec
11 Sep 2012   #56
desktop

Windows 7 Home Premium
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
You just ran a DIR command and c:\Programs did not show up.

Ok, so when i run that attrib | clip command and still get....

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

...how can it not be there when it obviously is?
My System SpecsSystem Spec
11 Sep 2012   #57
Slartybart

x64 (6.3.9600) Win8.1 Pro & soon dual boot x64 (6.1.7601) Win7_SP1 HomePrem
 
 

Methinks it is a 96 byte file called Program, but who am I. Just thought I'd jump in, now I'm jumping out. Good luck

Quote   Quote: Originally Posted by karlsnooks View Post
Nope. That is a file with the name of "96 Program"

karl
My System SpecsSystem Spec
11 Sep 2012   #58
desktop

Windows 7 Home Premium
 
 

Karl, here's the file.....


Attached Files
File Type: txt DirOfRoot.txt (5.7 KB, 11 views)
My System SpecsSystem Spec
11 Sep 2012   #59
Kaktussoft

Microsoft Community Contributor Award Recipient

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

PFFFF long thread. I'm almost sure it's another problem!
Assume the following command:

C:\test test\auto nopurge

does that run C:\test.exe with parameters test\auto nopurge. answer is yes
But someone could also think of:
run C:\test test\auto.exe with parameter nopurge

Somewhere in registry is something wrong!
C:\program files\blabla /someswitch
tries to run C:\program.exe !
My System SpecsSystem Spec
11 Sep 2012   #60
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Now we are getting somewhere.

that is a FILE with a length of 96.

You do not have a folder named Program.

You do have a file named Program.

The file has a length of 96 bytes.

So let's delete that file.

Run Powershell as an administrator
run following commands
cd $env:systemdrive\
del Program -force
dir $env:systemdrive\ -force

Now is that Program file gone? Yes/no.

If yes, reboot and see if the file shows up again.
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 03:33.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App