OT: CREATEPROCESS Question

From: Gary L. Scott (garyscott_at_ev1.net)
Date: 12/24/03


Date: Wed, 24 Dec 2003 10:38:11 -0600

Hi,

Pointers please. Using CVF 6.6B I want to use an OS call to "execute" a
".URL" file (i.e. a file that contains a URL or MAILTO: string). This
doesn't work with CREATEPROCESS (at least with the parameters I've
selected), because it isn't an "executable". It does work if I place
the path to the .URL file into a .CMD file and execute the .CMD file
with CREATEPROCESS. This works (and is the way I've designed it), but
seems kludgy. What processor should I address the .URL file to to
execute it more directly?

Note that it does work if I use RUNQQ or SYSTEMQQ or SYSTEM (with
unwanted flashing dos box), etc., just not with WINEXEC or
CREATEPROCESS.

I assume that this is obvious and that for command line entries, some
other process (command.com?) intervenes to redirect the string to either
createprocess or interprets it directly.

-- 
Gary Scott
mailto:garyscott@ev1.net
Fortran Library
http://www.fortranlib.com
Support the GNU Fortran G95 Project:  http://g95.sourceforge.net


Relevant Pages

  • RE: SQL stored procedure executing twice
    ... I wasn't aware that DLookupwould execute the "domain" more than once. ... caused the stored procedure to execute twice. ... Dim stDocName As String ... My pass-thru query properties ...
    (microsoft.public.access.modulesdaovba)
  • Re: Cannot execute DTS package
    ... > "Hermit Dave" wrote in message ... >> Whats happening is that it is trying to execute the Query with context ... >>> executing DTS packages from the ASP.NET: ... >>> String ServerPassword, DTSSQLServerStorageFlags Flags, String ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot execute DTS package
    ... > "Hermit Dave" wrote in message ... >> Whats happening is that it is trying to execute the Query with context ... >>> executing DTS packages from the ASP.NET: ... >>> String ServerPassword, DTSSQLServerStorageFlags Flags, String ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Forth Frustrations
    ... If you have a word that accepts a string then it's easy to get the ... we could do "FOO to tell the compiler to keep FOO ready, ... The address was HERE after the child was completed. ... lay down the two literals and then the execute, ...
    (comp.lang.forth)
  • Re: Code wont execute Main Macro Calls - non breaking spaces
    ... replace string for the sake of clarification. ... My MAIN MACRO does not execute the first 2 options DO FIND AND ... Sub DoFindReplace(FindText As String, ReplaceText As String, _ ... .MatchWholeWord = False ...
    (microsoft.public.word.vba.general)