Windows Explorer Command Line

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #11

    C:\Windows\explorer.exe /e,c:\
    From Bill2 post #4 works just fine for me.
      My Computer


  2. Posts : 31
    Windows 7
    Thread Starter
       #12

    periboob said:
    Peter, I didnt see any mention of what results you DO get--any error? just nothing? Also, are you using a desktop shortcut, or a "pinned to the taskbar" shortcut? I have found some small differences in the way a desktop shortcut responds compared to a Pinned shortcut.

    It almost sounds as if you maybe do not have permission to C: on that computer. Grasping at straws, I doubt it will make any difference, but I have been using this:
    C:\Windows\explorer.exe /select,c:\users
    Periboob,

    Thanks for the reply. I'm using a shortcut pinned to the taskbar but I've tried a shortcut on the desktop and I get the same result.

    I do not get any error message. When I click the shortcut it looks like Explorer is starting to run but it never happens. If I look in Task Manager Processes I see the usual Explorer listed there plus a second one that uses only around 2K of memory. That's the one that started to load but didn't make it.

    I also thought it sounded like a permissions or ownership problem but I've checked all of that and all seems to be as it should. I'm still not ruling that out but I don't know what else to check.

    One other odd thing about this ... when I click the taskbar shortcut and Explorer does not open if I then repeatedly click the shortcut more often than not eventually it does open -- after maybe 5-7 clicks or so.

    And every once in a while it all behaves as it should. I click the shortcut and Explorer opens (but that's rare).

    Peter
      My Computer


  3. Posts : 748
    Vista and now 7 in 32 and 64 bit.
       #13

    DeaconFrost said:
    I have to add as well, that I just tried on my system, and the C drive example from post #7 worked fine for me as well.
    Confirmed. I just tried it (without the sopace, as I suggested) works fine. Also copying and pasting the OP's command switch works on my computer.
      My Computer


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

    Explorer.exe may be corrupted. Try a sfc scan.

    SFC /SCANNOW Command - System File Checker
      My Computer


  5. Posts : 83
    Windows 7 Pro 64
       #15

    Peter, did you say early on, implied at least, that if you use the default properties Target string, without the "/e," it works OK?

    What happens if you run a commandline window and use the same string (or variations) there? Also, did you try swapping mice with another computer? That intermittent thing sure sounds like hardware, or at least a driver issue.
    Last edited by periboob; 15 Sep 2010 at 01:50. Reason: typo fix
      My Computer


  6. Posts : 83
    Windows 7 Pro 64
       #16

    It came to me in a dream, that (in the old days) the "/e" was only there to open with the folder tree shown, because the default was to open explorer with only the contents pane. But the new version of Explorer remembers that I want the folder tree shown, so this seems to do what I want also (no "/e", no ",").

    %windir%\explorer.exe J:\
      My Computer


  7. Posts : 31
    Windows 7
    Thread Starter
       #17

    I've tried everything I can think of but no change on this one PC. Explorer works perfectly on my other PCs. So clearly the problem is some setting on this PC.

    Without any command line options Explorer works but with the command line option it works only occasionally (again, just on this one PC).

    I don't even know where to go fishing to find the cause of that.

    Peter
      My Computer


  8. Posts : 83
    Windows 7 Pro 64
       #18

    Well, it is something wrong with that machine. Not sure it is a setting. Did you try SFC like Bill2 recommended?

    Since it seems intermittent, maybe it is hardware. did you try Windows Memory Diagnostic?

    Are you ready for the nuclear option? (format and clean install)
      My Computer


  9. Posts : 31
    Windows 7
    Thread Starter
       #19

    periboob said:
    Well, it is something wrong with that machine. Not sure it is a setting. Did you try SFC like Bill2 recommended?

    Since it seems intermittent, maybe it is hardware. did you try Windows Memory Diagnostic?

    Are you ready for the nuclear option? (format and clean install)
    I did try SFC. No problems.

    This is a fairly new (2 months) install so I'm not ready to do it again yet. My recollection is that I did not have this problem when I first setup Win7 on this machine. It started a couple of weeks later. So I really think it's something I did - some setting that I accidentally set wrong.

    Peter
      My Computer


  10. Posts : 4
    windows-linux
       #20

    First, sorry for my bad english

    I had exactly the same problem as pmokover.

    It seems to be a problem with something related to user profile. I added a new user. I login into this user and windows explorer works as expected. I solved the problem deleting the user account and creating a new one. This is not a good solution but solve the problem (before deleting user account remember to backup your important files).

    Possibly the origin of the problem is a misconfiguration in the windows registry. Perhaps with some tool that repare windows registry would be possible to restore correct behaviour of windows explorer...

    bris
      My Computer


 
Page 2 of 3 FirstFirst 123 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 08:13.
Find Us