PDA

View Full Version : Open Folder



NewsArchive
10-31-2008, 03:15 AM
This has got to be simple - but can't seem to find it.

How does one open a folder during install scrip installation?

I've tried various flavours of

explorer <PathName>
%SYS32%\explorer <Pathame>

in the RunProgram function call (using Shellexecute and not) - but can't get
it.

--
Geoff (Capesoft)

www.capesoft.com

NewsArchive
10-31-2008, 03:16 AM
> This has got to be simple - but can't seem to find it.
>
> How does one open a folder during install scrip installation?
>
> I've tried various flavours of
>
> explorer <PathName>
> %SYS32%\explorer <Pathame>
>
> in the RunProgram function call (using Shellexecute and not) - but can't
> get it.

Something similar to the attached script. It will open the Fonts folder.

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
11-04-2008, 02:27 AM
Fantastic. Just what I needed. Would be helpful having this in the docs - or
as a function (run folder command with the foldername as a parameter).

JAT

--
Geoff (Capesoft)

www.capesoft.com