> `"$batch" "$name"`;
> #! doesn't work - and that's the clue of my problems
>
> and also system doesn't want to work with $batch and $name as it's
parameter
`` interpolates.
You probably want:
`"$batch $name"`;
or some permutation of.
Happy to help
+Pete
--
[EMAIL PROTECTED]
;;($_='Yw_xUabcd
> -Original Message-
> From: Gary Hawkins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 29 2001 11:21 PM
> To: Rubiniec, Krzysztof; [EMAIL PROTECTED]
> Subject: RE: Calling external executable with parameter under WinNT.
>
>
> #!perl.exe
>
> $name
#!perl.exe
$name="C:\\perl test\\perl text.txt";
`"$name"`;
runs Notepad with the txt file under Windows 2000.
The double quotes in `"$name"`; are needed for cmd.exe due to the spaces.
/g
> -Original Message-
> From: Rubiniec, Krzysztof [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday,