Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

running a shortcut ?

RipperRipper Member Posts: 85
Hi all ...

hope you can help ...
I am trying to write a program that execute exe's.
now, my question is, one of my exe's are a shortcut, and there are parameters in .... how do I do it now ?

regards
ripper

Comments

  • Filip PoverudFilip Poverud Member Posts: 27
    uses
    ShellAPI;

    begin
    ShellExecute(Handle,'OPEN',PChar('filename.lnk'),PChar('parameters'),nil,SW_SHOWNORMAL);
    end;

    ---

    Regards

    /Filip
  • Chris BrownChris Brown USAMember Posts: 4,496 ✭✭

    _________ / http://forcoder.org / free ebooks and video tutorials about / R PL/SQL JavaScript Delphi Assembly C Objective-C Java Swift MATLAB Ruby Perl Visual Basic PHP Python Scratch Visual Basic .NET Go C++ C# Clojure ML Julia F# Hack FoxPro LabVIEW Dart Erlang Lua Ada COBOL Crystal Bash Scala SAS ABAP Lisp Prolog Alice Fortran Kotlin VBScript Rust Logo Transact-SQL D Apex Scheme Awk / ____

Sign In or Register to comment.