Shell Execute


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

Posted by Stephen Auerbach on August 03, 2007 at 13:46:02:

Please look at this tiny source program and tell me why, considering the documentation on Shell Execute, one statement format works and the second does not.

!//ib//
LENGTH 4 & LOCAL VERB$
LENGTH 20 & LOCAL CMD$
LENGTH 80 & LOCAL LOC$


PRINT (CS)
PRINT "SHELL EXECUTE"
WAIT
================== This line works

! Print (0) (ShellExecute="OPEN","TEST.DOCX","","d:\COMET",1)

================ This construction DOES NOT work
VERB$ = "OPEN"
CMD$ = "TEST.DOCX "
LOC$ = "D:\COMET "
PRINT (0) (ShellExecute = VERB$,CMD$,"",LOC$,1)

RUN "QMONITOR"


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 ]