stilllearning Posted November 14, 2008 Share Posted November 14, 2008 I can open 'My Computer' using: - Run("explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}") Can anyone tell me how to expand the path so that I can open a folder within 'My Computer'? Run("explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\folder name") doesn't work Link to comment Share on other sites More sharing options...
stilllearning Posted November 14, 2008 Author Share Posted November 14, 2008 Hello,try::Run("explorer.exe /e c:\windows") ;or path you wish to navigate to.Thanks for that. Link to comment Share on other sites More sharing options...
Mobius Posted November 15, 2008 Share Posted November 15, 2008 (edited) Thanks for that.#cs @OP Doh! stupid me... here are some. i Did not read your post properly #ce ; CONTROL PANEL RUN("explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}") ; RECYCLE BIN RUN("explorer.exe /e,::{645FF040-5081-101B-9F08-00AA002F954E}") ; MY NETWORK PLACES RUN("explorer.exe /e,::{208D2C60-3AEA-1069-A2D7-08002B30309D}") ; PRINTERS RUN("explorer.exe /e,::{2227A280-3AEA-1069-A2DE-08002B30309D}")oÝ÷ ØÖN¬Â䱩l¡«¢+ÙIU8 ÌäíáÁ±½ÉȹὰèéìÈÁÀÑÀ´Í´ÄÀØäµÉà´ÀàÀÀÉÌÀÌÀåôÀäÈìÅÕ½Ðíé]%9=]LÅÕ½ÐìÌäì¤ Edited November 15, 2008 by Mobius Link to comment Share on other sites More sharing options...
Cw2K1 Posted November 15, 2008 Share Posted November 15, 2008 (edited) Improved ca be done in one line only without using the CLSID codes.$path = "C:\Windows" $path_2 = "D:\" Run("explorer.exe " & $path, "", @SW_MAXIMIZE) Run("explorer.exe " & $path_2, "", @SW_MINIMIZE)check your help file for CLSID List. Edited November 15, 2008 by Cw2K1 Enjoy the complexity.Feel the power of simplicity. Link to comment Share on other sites More sharing options...
AzKay Posted November 15, 2008 Share Posted November 15, 2008 Could always just use ShellExecute("C:\WINDOWS") # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
MilesAhead Posted November 16, 2008 Share Posted November 16, 2008 Could always just use ShellExecute("C:\WINDOWS")Or eliminate the hard-wired folder using @WindowsDirWindows could be installed on H: My Freeware Page Link to comment Share on other sites More sharing options...
MilesAhead Posted November 16, 2008 Share Posted November 16, 2008 Another way to skin the cat without using the CLSID is to use explorer /select,C: should open MyComputer with the side panel(if that's what the user's settings indicate) and C: drive highlighted. My Freeware Page Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now