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: Windows Explorer Command Line


14 Sep 2010   #11

Windows 7 Pro. 64/SP-1
 
 

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

My System SpecsSystem Spec
.

14 Sep 2010   #12

Windows 7
 
 

Quote   Quote: Originally Posted by periboob View Post
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 System SpecsSystem Spec
14 Sep 2010   #13
Microsoft MVP

Vista and now 7 in 32 and 64 bit.
 
 

Quote   Quote: Originally Posted by DeaconFrost View Post
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 System SpecsSystem Spec
.


14 Sep 2010   #14

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

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

SFC /SCANNOW Command - System File Checker
My System SpecsSystem Spec
15 Sep 2010   #15

Windows 7 Pro 64
 
 

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.
My System SpecsSystem Spec
15 Sep 2010   #16

Windows 7 Pro 64
 
 

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 System SpecsSystem Spec
17 Sep 2010   #17

Windows 7
 
 

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 System SpecsSystem Spec
17 Sep 2010   #18

Windows 7 Pro 64
 
 

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 System SpecsSystem Spec
18 Sep 2010   #19

Windows 7
 
 

Quote   Quote: Originally Posted by periboob View Post
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 Windows 7 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 System SpecsSystem Spec
25 Aug 2011   #20

windows-linux
 
 

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 System SpecsSystem Spec
Reply

 Windows Explorer Command Line




Thread Tools



Similar help and support threads for2: Windows Explorer Command Line
Thread Forum
Windows Management Instrumentation Command Line Performance & Maintenance
Windows 7 x86 (Question about Rundll32 Command Line) General Discussion
Solved Windows Backup command line Backup and Restore
How To Back Up My Windows 7 Command Line Backup and Restore
Windows Update by Command Line Windows Updates & Activation
AIK windows 7(Boot livefrom usb like BartPE) only have command line?? Virtualization
Internet Explorer 9 installer command line switches Browsers & Mail

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:49 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33