This week’s Windows Tip Sheet column is about opening an Explorer window from the command prompt. One of my readers sent me an email about using this tip in Vista:
I’m currently running Vista and when I type “explorer.exe /e, %cd%” I get the same results as “explorer.exe /e /root, %cd%”. So is /root really necessary? Wouldn’t it be faster to remove it if you get the same results?
He’s right in that you essentially end up with an Explorer window opened to the current directory. But there is a subtle difference that might matter to you. When you use /root, you should see that folder tree in the left hand pane is “rooted” to the specified folder. When you do it without /root, the folder tree is the full tree showing your computer, network places and the rest.
On my Vista Ultimate laptop, I didn’t really notice any performance difference between using /root or not. It would save you from typing a bit, but I use a batch file anyway.
It boils down to how you intend to use the Explorer window. If you want to easily navigate away from the current folder, then don’t use /root. The command is flexible so do what works for you.
If you’re like me, you prefer not to re-invent the wheel when working on a scripting solution. You’d prefer to find a script written by someone else that accomplishes the same task(s). You might be tempted to jump immediately to Google or Yahoo. Before you do, let me give you some other online resources you might want to check first.
I encourage you to visit http://www.searchscripting.com when searching for administrative scripts. This site is hand-tuned to crawl sites known to have script collections and other scripting related material. You are very likely to find practical script examples via this site with little effort.
Of course, any search for scripts should begin at the Technet Script Center . You’ll find a wealth of information on all sorts of scripting topics including a substantial script repository. I also encourage you to check out their scripting “hubs” () which organize scripting resources by topics such as Active Directory, Desktops, HTAs, PowerShell, Security and Windows 2003.
Certainly I encourage you to visit the ScriptingAnswers.com Script Vault where you fill find many user submitted scripts organized by topic as well as my own script library.
If none of those resources are sufficient here are additional online script libraries, collections and repositories:
If you have a favorite online script library, I hope you’ll share.
Technorati tags: Scripting, PowerShell, VBScript, BatchFiles, WMI, ADSI
Don Jones and I have finally gotten zip files with all the updated session material from the Techmentor Orlando 2007 conference. There is a zip file for each of us at http://www.scriptinganswers.com/essentials.asp.
I know in my zip file there are several readme files so make sure you look at them. I’ve included the video demos which will likely require you to install a codec or two. I’ve included them in the zip file so you don’t have to go hunting for them. if you want to discuss anything about the conference or the stuff we talked about, I hope you’ll use the forums at ScriptingAnswers.com.
These files won’t be around forever so be sure to download them soon.
If you missed the conference in Orlando, hopefully you can make arrangements to join us in fabulous Las Vegas Oct. 15-19, 2007.
Technorati tags: Techmentor, PowerShell, VBScript, Batch, CMD, DonJones, JeffHicks, SAPIEN