Jump to content
Sign in to follow this  
Nithyanandam

Open a folder script

Recommended Posts

Nithyanandam

Hi guys,

I need to open a folder and make it visible when a button is clicked, I found how to create a folder but after that want to open it.

Thanks

Sasikumar Nithyanandam

Share this post


Link to post
Share on other sites
Yashied

Share this post


Link to post
Share on other sites
Nithyanandam

What does it mean to open? ShellExecute()?

Manualy when we open a folder by double clicking it, we see a browser right, or when we click a excel it opens, same way want to see a folder visibly.

Edited by Nithyanandam

Share this post


Link to post
Share on other sites
colafrysen

I do not understand you. Do you want to open a folder, then do as Yashied said. for example

ShellExecute(@WindowsDir)

If you want to open a folder and have a file/folder inside that folder selected, then use the explorer command line switch /Select Example:

$Highlight = @WindowsDir&"\System32\Calc.exe"
Run(@WindowsDir & "\Explorer.exe /Select," & $Highlight)

[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites
Yashied

Share this post


Link to post
Share on other sites
Nithyanandam

Yes, as u mentioned I want to open the folder. Thanks you guys, this would do.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×