|
|
 | | From: | Gavin Lambert | | Subject: | Minor documentation ambiguity | | Date: | Wed, 22 Dec 2004 10:34:38 +1300 |
|
|
 | Just noticed this ambiguity in the docs (5.0.5):
In the help for Exec, the Description paragraph starts out like this: > Executes the specified executable or batch file.
And then in the Remarks, it says this: > Use the ShellExec function instead if you need to launch a non-executable/batch file.
The second sentence, I imagine, would be the correct one :)
Well, actually, the first is probably true in a sense -- it's still probably better to run batch files through Exec than ShellExec, but you have to specify running it through {cmd}, don't you? Or is this trying to say that you can run batch files directly, without having to specify {cmd}? (In that case, the second sentence probably needs to be reworded a bit.)
Maybe what we really need is a bit of example code demonstrating running a batch file using Exec (whether through {cmd} or not).
|
|
|