Article View: borland.public.cppbuilder.nativeapi
Article #3124Re: Open cmd.exe from shortcut, execute command
From: Michel Leunen
Date: Sun, 15 Oct 2006 09:31
Date: Sun, 15 Oct 2006 09:31
17 lines
1449 bytes
1449 bytes
vortic wrote: > I could not figure out how to get ShellExecute to open a > shortcut, but that is ok. A shortcut is like other files and has an .lnk extension. Just do ShellExecute( NULL, "open", "your_link.lnk", "", NULL, SW_SHOWDEFAULT ); Michel -- ---------------------------------------- Michel Leunen mailto: see my homepage. C++Builder, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Technical Details
Message-ID:
<4531ffc5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4531423c$1@newsgroups.borland.com> <45316a45$1@newsgroups.borland.com> <453187e4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c75cbeeeafb4b920 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 15 Oct 2006 11:31:24 +0200 From: Michel Leunen <nospam@noreply.be> Organization: www.leunen.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Open cmd.exe from shortcut, execute command References: <4531423c$1@newsgroups.borland.com> <45316a45$1@newsgroups.borland.com> <453187e4$1@newsgroups.borland.com> In-Reply-To: <453187e4$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.247.84.106 Message-ID: <4531ffc5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1160904645 81.247.84.106 (15 Oct 2006 02:30:45 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail