Dear all,
I'm having trouble trying to hide or have this command line
PCPERFORM "NET USE LPT1 \\CL0355\Zebra105" to run in the background.
I have to use the above command because redirecting printout
with the command MODE LPT1:=COM1: does not work in Windows NT 4.0.
The system used to be stand-alone and runs under DOS, so there is no problem before.
I think running a production system on Win9x is definitely a bad idea.
My question:
1) How can have NET USE LPT1 …. running in the background?I don't want the PRESS RETURN to return to …… message box to pop up everytime i print something.
Please advise.
Thank you.
Change the Program settings on the _DEFAULT.PIF (in WINDOWS dir) to close on exit.
Warren,
Thank you for ur help but the I still have the message
"LPT1 was deleted succesfully.
Press Enter to return to Advanced Revelation. "
popping out whenever i use the command "NET USE ….."
in PCPERFORM.
Are you using the TCL PCPERFORM
PCPERFORM EXIT NET USE
(EXIT is the key here)
or the RBASIC PCPERFORM
where this should not be necessary?
support@sprezzatura.com
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
How do I know which PCPERFORM am I using?
Are you doing it from TCL or from within a program? If from within a program are you
PCPERFORM "NET USE"
or
Execute "PCPERFORM NET USE"
support@sprezzatura.com
The Sprezzatura Group Web Site
World Leaders in all things RevSoft
I'm using PCPERFORM within a program.
But, I think I have solved the problem
by using
PERFORM "PC EXIT NET USE LPT1 \\cl0355\Zebra105"
there are no more message box asking me to press ENTER to return to Advance Revelation.
thanks you for your help.
Thanks , I think I got the problem settled now.
I just use PERFORM "PC EXIT NET USE LPT1 /DELETE"
within my program.
right now, it does not prompt the user to press RETURN to program.