At 11:27 AM 10/18/2001 -0400, J.M. GRATIAS wrote:
>> ZIP COMMAND.COM /C COPY VERSION.TXT LPT1
>
>This works (if LPT1 is changed to LPT1:), but in
>the horrible DOS black box flash...
>Is there a way to minimize it ?
TTBOMK ... NO.
>Will Is this keep working if OS is NT/W2000 ?
In that case, use CMD.EXE when working on NT/2000 OS.
As I mentioned in my earlier post, you can automate
the entire process using (ENVVAL('ComSpec')).
Simple Example:
SET VAR vShell TEXT = (ENVVAL('ComSpec'))
IF vShell CONTAINS 'WinNT' THEN
ZIP CMD.EXE /C COPY FileName.TXT LPT1:
ELSE
ZIP COMMAND.COM /C COPY FileName.TXT LPT1:
ENDIF
-- Use CMD.EXE for Win NT, Win 2000 and Win XP.
-- Use COMMAND.COM for Win 95, Win 98 and Win Me.
Hope that helps!
If you need further assistance, feel free to ask here.
Very Best Regards,
Razzak.
===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference
Official R:BASE List Server: mailto:[EMAIL PROTECTED]
RBTI Events/Training: http://www.rbase2000.com/events
R:DCC Members: http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================