Hey folks, is there a way to explore the folder of the selected file and select that file?
i guess it is possible with Shell.Execute, but i am not sure,
thanks, CB
Professional Software Development Tools
Hey folks, is there a way to explore the folder of the selected file and select that file?
i guess it is possible with Shell.Execute, but i am not sure,
thanks, CB
How about something like -
p.s. Just read your post again "explore the folder of the selected file and select that file", if you already have the file name can't you just use that?Code:strSplit = String.SplitPath("File") and then strFolder= strSplit.Folder File.Find (strFolder)
Last edited by longedge; 08-13-2008 at 08:55 AM.
thanks, but i ment Explore the folder and select the file in that explorer window![]()
Ahh... Explorer command line switches are given here so you could just build it and then open a Windows Explorer window using the command line that you have built.
great thanks!
the code :i use this for other goals but this is niceCode:result = File.Run(_WindowsFolder.."\\explorer.exe", "/select,\"calc.exe\"", "", SW_SHOWNORMAL, false);thanks!
can also be done with "Shell.Execute" but i cant remember how![]()
Open your eyes to Narcissism, Don't let her destroy your life!!