| Nelson Kaye 2005-08-21, 2:55 am |
| Dave,
I did use the following command:
RUN('CMD /C H:\PNETG\PNG.EXE'). This did not work.
I use the ' before the CMD and after the EXE. Is this the correct format?
Nelson
"Dave Beggs" <dsbeggs@warrnamboolvet.com.au> wrote in message
news:A921.1124593771.1510@discuss.softvelocity.com...
> Nelson,
> I'd be using shellexecute - greg b's powerrun is great, also Hyperactive,
> and api's listed on clarionfoundry.
> That said, the run() method is easy. You do need to use the cmd at the
> beginning...
>
> -----------found by typeing cmd /? at a cmd prompt ..............>>
> CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
> [[/S] [/C | /K] string]
>
> /C Carries out the command specified by string and then terminates
> /K Carries out the command specified by string but remains
> /S Modifies the treatment of string after /C or /K (see below)
> /Q Turns echo off
> /D Disable execution of AutoRun commands from registry (see below)
> /A Causes the output of internal commands to a pipe or file to be
ANSI
> /U Causes the output of internal commands to a pipe or file to be
> Unicode
> /T:fg Sets the foreground/background colors (see COLOR /? for more info)
> /E:ON Enable command extensions (see below)
> /E:OFF Disable command extensions (see below)
> /F:ON Enable file and directory name completion characters (see below)
> /F:OFF Disable file and directory name completion characters (see below)
> /V:ON Enable delayed environment variable expansion using ! as the
> delimiter. For example, /V:ON would allow !var! to expand the
> variable var at execution time. The var syntax expands variables
> at input time, which is quite a different thing when inside of a
FOR
> loop.
>
>
> HTH
> Dave Beggs
> www.dsbglobal.com/dosprinter
> print or email from DOS!!
> "Nelson Kaye" <nkaye1@nyc.rr.com> wrote in message
> news:A921.1124554400.1399@discuss.softvelocity.com...
In[color=darkred]
>
>
>
|