Problems using the CMD window

Page 1 of 2 12 LastLast

  1. Posts : 41
    Windows 7 Home Premium 32bit
       #1

    Problems using the CMD window


    When I am using the CMD window and try to use the "delete" command on some text file in my C:\ root folder, the resulting message is "Access Denied".

    I tried to use my user account with Administrator authority but it happens there too.

    Is there any way to avoid this?
      My Computer


  2. Posts : 17,796
    Windows 10, Home Clean Install
       #2

    Welcome
    Do you use an elevated prompt, that is run as administrator?
    Elevated Command Prompt
      My Computer


  3. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #3

    You can try moving the file off the root of C: to a different folder or drive, then try deleting.

    If this is not a system file, you can give yourself full permissions or take ownership.

    Permissions - Allow or Deny Users and Groups

    Take Ownership Shortcut
      My Computer


  4. Posts : 41
    Windows 7 Home Premium 32bit
    Thread Starter
       #4

    Thank you both.

    Richc46,

    I got it to work find using your suggestion. But that leaves me with another problem.

    You see, I normally open my CMD window in a batch file. The reason is that enables me to use a hotkey to open the window.

    In XP, I opened the CMD window by using the START command as follows:

    start "CMD Shell 1" CMD /T:0F "/K CD /D C:\"

    But I find multiple versions of the file CMD.EXE under W7.

    Specifically, I find CMD.EXE in the following directories.

    C:\Windows\System32
    C:\Windows\SysWOW64

    Can you tell me if the one in C:\Windows\System32 is the one I should start in order to get an elevated prompt?
      My Computer


  5. Posts : 41
    Windows 7 Home Premium 32bit
    Thread Starter
       #5

    Bill2 said:
    You can try moving the file off the root of C: to a different folder or drive, then try deleting.

    If this is not a system file, you can give yourself full permissions or take ownership.

    Permissions - Allow or Deny Users and Groups

    Take Ownership Shortcut
    Thank you Bill. But I am a rank beginner with W7 and I have no idea what it means to take ownership or give myself full permissions. I don't know how to do either of those things.
      My Computer


  6. Posts : 17,796
    Windows 10, Home Clean Install
       #6

    As far as I know its in system32
    When you run elevated it shows system 32 by the cursor.
      My Computer


  7. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #7

    alishibaz said:
    Thank you both.

    Richc46,

    I got it to work find using your suggestion. But that leaves me with another problem.

    You see, I normally open my CMD window in a batch file. The reason is that enables me to use a hotkey to open the window.

    In XP, I opened the CMD window by using the START command as follows:

    start "CMD Shell 1" CMD /T:0F "/K CD /D C:\"

    But I find multiple versions of the file CMD.EXE under W7.

    Specifically, I find CMD.EXE in the following directories.

    C:\Windows\System32
    C:\Windows\SysWOW64

    Can you tell me if the one in C:\Windows\System32 is the one I should start in order to get an elevated prompt?
    On 64 bit versions of windows the 32 bit CMD.exe can be found at C:\Windows\SysWoW64\cmd.exe.
      My Computer


  8. Posts : 41
    Windows 7 Home Premium 32bit
    Thread Starter
       #8

    Thank you both very much. Lucky there aren't very many possibilities. So I will try them both and hopefully one will work.

    P.S. Is there no way to send private messages to other users in this forum?
      My Computer


  9. Posts : 17,796
    Windows 10, Home Clean Install
       #9

    You have 32 bit per your specs. Try system 32.
      My Computer


  10. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #10

    richc46 said:
    You have 32 bit per your specs. Try system 32.
    Theres no Syswow64 folder in 32 bit windows.
      My Computer


 
Page 1 of 2 12 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:26.
Find Us