Solved

Windows Explorer-Way to force view to show expanded folder?

Posted on 2006-11-01
12
314 Views
Last Modified: 2007-11-27
I have a customer running XP Pro. We just nuked & paved and I'm setting up his "Windows Explorer" view to the way he thinks it was.

Customer claims that he was able to d/c the Explorer icon and have one certain folder under the root expanded (a Lotus 123 folder).

The best I could do was to get the C:\ root expanded but not the folder underneath. Here's the "Target" path:

%SystemRoot%\explorer.exe /n, /e, /select, C:\123R4W\

Again, he wants "123R4W" to display in an expanded state.

Thanks for any ideas.

Brian
0
Comment
Question by:bricar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 4

Expert Comment

by:KellyCraig
ID: 17852643
Hello.
Simpyl specify a folder under 123R4W

Such as.

%systemRoot%\explorer.exe /n, /e, /select, C:\123R4W\New Folder

Try it, you'll see.
--Kelly
0
 
LVL 38

Expert Comment

by:younghv
ID: 17854289
I'm not a script guy and this may be the same thing KellyCraig just posted.

Copy and paste it into a test.bat file:

explorer /e,/root,c:\123R4W


Vic
0
 
LVL 4

Expert Comment

by:KellyCraig
ID: 17854382
><
It's kinda the same, but hell end right up where he was, you have to trail that directory with a folder inside 123R4W even on yours.
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 38

Expert Comment

by:younghv
ID: 17854566
Hi Kelly,

I sure don't know why it works, but it does. ??? - Go figure.

I made a new folder named 123R4W on my C:\ drive.

Then I created the .bat file on my desktop with just the single line above (explorer /e,/root,c:\123R4W)

When I click on the .bat file, Windows Explorer opens directly into the 123R4W folder.

Vic
0
 
LVL 4

Expert Comment

by:KellyCraig
ID: 17854575
Yea,
But!
Does the panel on the left, the nav, have the 123R4W folder expanded in tree view?
No, just highlighted.
0
 
LVL 38

Expert Comment

by:younghv
ID: 17854619
Hmmm.
The 123R4W folder is in the Left Panel and the 'sample' docs I put in that folder are displayed in the Right Panel.

I'm going to go work the XP TA for a while and leave this scripting stuff alone.

Saw you made the change we talked about earlier - good move.


Vic
0
 
LVL 2

Accepted Solution

by:
Machin__Shin earned 250 total points
ID: 17857090
just take out /select and it will work fine. Tried and tested ^_^.
0
 

Author Comment

by:bricar1
ID: 17858176
One cigar for Machin_Shin!

Worked like a charm. Now the Explorer icon points directly to the 123R4W folder. which is highlighted and expanded. That's just what the customer wants.

This turned into a great discussion and lots of you guys had some great ideas. Machin's was the simplest working solution so it seemed he should be awarded the points.

Thanks to all!

Brian
0
 
LVL 38

Expert Comment

by:younghv
ID: 17858238
I wonder if Machin_Shin will send half that cigar to KellyCraig? ;)
0
 

Author Comment

by:bricar1
ID: 17858355
Well, it's an imperfect system and sometimes things go this way. If they want to split the points and there is a way to do it, that's fine.

Credit should go to where it's due, and I have no problem with that, so if it's an issue with them, we'll see what can be done.

As I said, my perception was that M's solution was the one that required minimal tweaking.

Brian
0
 
LVL 38

Expert Comment

by:younghv
ID: 17858590
Hi Brian,

When you close a question, one of YOUR options is to split the points ("Answered" and "Assisted").
I think the minimum points you can assign for an 'Assist' is 20, with more as you decide.

I've only asked a couple of questions here and the 'closing' part was confusing each time.

I didn't really have a dog in this hunt and only jumped in because it was an interesting question.

Vic
0
 
LVL 4

Expert Comment

by:KellyCraig
ID: 17859442
Hey, no big, I am not here for points, just to help, glad he got his answer!
--Kelly
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question