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

Page 4 of 9 FirstFirst ... 23456 ... LastLast

  1. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #31

    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 Computer


  2. Posts : 90
    Windows 7 Home Premium
    Thread Starter
       #32

    Karl, here's the snip:

      My Computer


  3. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #33

    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 Computer


  4. Posts : 90
    Windows 7 Home Premium
    Thread Starter
       #34

    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 Computer


  5. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #35

    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 Computer


  6. Posts : 90
    Windows 7 Home Premium
    Thread Starter
       #36

    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 Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #37

    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 Computer


  8. Posts : 90
    Windows 7 Home Premium
    Thread Starter
       #38

    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.
    Last edited by desktop; 11 Sep 2012 at 12:21.
      My Computer


  9. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #39

    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 Computer


  10. Posts : 90
    Windows 7 Home Premium
    Thread Starter
       #40

    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 Computer


 
Page 4 of 9 FirstFirst ... 23456 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 19:47.
Find Us