Jump to content

Recommended Posts

Posted

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

Posted (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 by Mobius

wtfpl-badge-1.png

Posted (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 by Cw2K1
Enjoy the complexity.Feel the power of simplicity.
Posted

Could always just use ShellExecute("C:\WINDOWS")

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...