Achilles Posted January 28, 2007 Share Posted January 28, 2007 (edited) Alright, as some of you may know I'm trying to make my own start menu. When you right click on the start button, windows has two options where you can either simply explore you start menu and further down an option where you can explore "All Users". I was wondering how to open a folder under explore... So far I have been using "ShellExecute(folderDir)" for any folders I need opening but this command doesn't let you open a folder under "Explore". Any ideas? Edited January 28, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Shevilie Posted January 28, 2007 Share Posted January 28, 2007 Well i quit dont know what you are trying to do but this might help ShellExecute("explorer.exe", "D:") If you mean by explorer that you need the TreeView then i dont know how to open that directly.. Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
MHz Posted January 28, 2007 Share Posted January 28, 2007 Looks like you were close. Try this ShellExecute(@ProgramsCommonDir, '', '', 'explore') Link to comment Share on other sites More sharing options...
Achilles Posted January 29, 2007 Author Share Posted January 29, 2007 Looks like you were close. Try this ShellExecute(@ProgramsCommonDir, '', '', 'explore') Sweet, that's what I was looking for... Do you know if there is a list of all the verbs you can use somewhere? From what I found the helpfile only contains common ones... RE to Shevilie: Thanks but I was looking for the Tree View My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
MHz Posted January 29, 2007 Share Posted January 29, 2007 Sweet, that's what I was looking for... Do you know if there is a list of all the verbs you can use somewhere? From what I found the helpfile only contains common ones...Look at Control Panel -> Folder Options -> File Types -> [select type] -> Advanced. The popup window will list some verbs. You can also look directly in Regedit. This code may help as well. $userfolder = @WindowsDir $userfile = "notepad.exe" $WshShell = ObjCreate("WScript.Shell") $objShell = ObjCreate("Shell.Application") $objFolder = $objShell.Namespace($userfolder) $objFolderItem = $objFolder.ParseName($userfile) $colVerbs = $objFolderItem.Verbs For $objVerb in $colVerbs $WshShell.Popup($objVerb) Next Link to comment Share on other sites More sharing options...
Achilles Posted January 29, 2007 Author Share Posted January 29, 2007 Look at Control Panel -> Folder Options -> File Types -> [select type] -> Advanced. The popup window will list some verbs. You can also look directly in Regedit. This code may help as well. $userfolder = @WindowsDir ;... Thanks, I'm sure that I'll be using this! My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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