More Shell Execute


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Stephen Auerbach on July 12, 2007 at 08:42:43:

Both versions of the following code work. However, the remote work station did NOT display a window when executing the batch file. The local work station did display a window.

PUBVBKB$ = sub(zrmd$,1,2) + "PVBKB.BAT" !Build the batch file name
IsRemote = Asc(Sub(Dstat(Term$), 21, 1))
If IsRemote EQ False
PRINT(0)(SHELLEXECUTE="OPEN",PUBVBKB$,"","\\COMET\COMET\SCRIPTS\",1)
ELSE
close(40) & open(40) "X00"
PRINT(40) (SHELLEXECUTE="OPEN",PUBVBKB$,"","\\comet\comet\scripts\",1)
Endif

Are we doing something wrong?




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]