On 5/13/2010 2:28:38 AM, Christian Ziemski wrote:
>On 13.05.2010 03:01 vtech-keystroke
>> From: Ian Binnie
>> On 5/12/2010 4:05:28 PM, Christian Ziemski wrote:
>>>Perhaps you should try:
>>> System(`%comspec% /k |@(#65)`,#69)
>>>since %COMSPEC% evaluates to CMD.EXE or
>>>whatever command interpreter one uses.
>> That wouldn't work.
>> You need a command interpreter to expand %COMSPEC%
>Since I'm using Linux instead of Windows
>as my main
>Operating System for some time now,
>I may have forgotten many details ...
>... but I just tried
> System("%comspec% /k dir", DOS)
>and it worked as expected.
I just tried it on my Win XP 64 bit system and it did not work. I also eliminated the DOS option and this did not solve the problem either.
However, combining it with one of Ian's suggestions it works like a charm. Specifically, I tried,
Get_Environment(10, "COMSPEC") System("|@(10) /k dir")
and this, indeed, did work.
So, if I do not hear from Howard, I shall go ahead and revise my RUNSHELL.VDM using
System(`cmd /k |@(#65)`,#69)
In other words, I shall treat the DOS option exactly the way OPENCURS.VDM does.
Gentlemen, thanks again for making possible the use of VEDIT on my Win XP 64 bit system.