On Tue, 29 Jan 2013, John Rose wrote:
> Tobias,
>
> Thanks for that useful reply.
>
> I have a quick question (it doesn't seem worth asking on the Mailing List):
> Using Dialog.OpenFile(), the resulting Dialog.Path shows the full path
> to the file (e.g. /home/john/x.txt). Given that the runtime
Tobias,
Thanks for that useful reply.
I have a quick question (it doesn't seem worth asking on the Mailing List):
Using Dialog.OpenFile(), the resulting Dialog.Path shows the full path
to the file (e.g. /home/john/x.txt). Given that the runtime user might
change to a different directory (from t
On 01/24/2013 12:59 PM, John Rose wrote:
> I have written a GUI to execute a command which involves selecting
> filenames (e.g. sCombinedPath below) to be used in a Shell command (as part
> of a Process). It works OK generally. However, if any filename includes a
> quote, it goes wrong.
> sCommand
Thanks Tobias. It worked.
Regards,
John
On 24/01/13 21:08, Tobias Boege wrote:
> On Thu, 24 Jan 2013, John Rose wrote:
>> I have written a GUI to execute a command which involves selecting
>> filenames (e.g. sCombinedPath below) to be used in a Shell command
>> (as part of a Process). It works OK
On Thu, 24 Jan 2013, John Rose wrote:
> I have written a GUI to execute a command which involves selecting
> filenames (e.g. sCombinedPath below) to be used in a Shell command
> (as part of a Process). It works OK generally. However, if any
> filename includes a quote, it goes wrong.
>
> sCommand
I guess you will need Chr$(39) as ASCII code for ', or if you need double
quote just use Chr$(34).
2013/1/24 John Rose
> I have written a GUI to execute a command which involves selecting
> filenames (e.g. sCombinedPath below) to be used in a Shell command (as part
> of a Process). It works OK
I have written a GUI to execute a command which involves selecting
filenames (e.g. sCombinedPath below) to be used in a Shell command (as
part of a Process). It works OK generally. However, if any filename
includes a quote, it goes wrong.
sCommand = "mplex -f 8 -o " & "'" & sCombinedPath & "'