From: Andy on
On 30 Oct 2006, Robert Riebisch <Robert.Riebisch(a)arcor.de> wrote:

> Andy schrieb:
>
>> When I replace the first semi-colon (after "/k") with an ampersand
>> (or two ampersands) then the MODE command does not work.
>
> Because you didn't understand. Please read the Windows help about
> what "cmd /k" does.
>
>> And conversely when I restore the semi-colon (after "/k") then the
>> MODE command works again.
>
> It's not. It's probably just ignored by cmd.exe.
>
>> So it seems that the semi-colon is needed there?
>
> No.
>
>> Whether I use semi-colon or ampersandafter the "/k" command, the
>> CONTIG.EXE command does not work with an anpersand or double
>> ampersands.
>
> Then a write a batch file.
>


Umm, I am writing a batch file.

Are you talking about interactive commands?
From: Robert Riebisch on
Andy schrieb:

> Umm, I am writing a batch file.

Why not just use: mode con lines=50 cols=100 && C:\Contig.exe -A
"D:\Programme\eMule\*.*"

mode con lines=50 cols=100
C:\Contig.exe -A "D:\Programme\eMule\*.*"

> Are you talking about interactive commands?

??

--
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!