How to hide "NET USE"? (AREV Specific)
At 12 APR 2005 09:58:02PM Chang Lee Churn wrote:
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.
At 12 APR 2005 10:21PM Warren Auyong wrote:
Change the Program settings on the _DEFAULT.PIF (in WINDOWS dir) to close on exit.
At 13 APR 2005 03:12AM Chang Lee Churn wrote:
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.
At 13 APR 2005 04:17AM support@sprezzatura.com wrote:
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
At 13 APR 2005 05:11AM Chang Lee Churn wrote:
How do I know which PCPERFORM am I using?
At 13 APR 2005 05:19AM support@sprezzatura.com wrote:
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
At 13 APR 2005 05:27AM Chang Lee Churn wrote:
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.
At 25 APR 2005 05:49AM Chang Lee Churn wrote:
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.