Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some problem about (Launch App and wait w/o RUN or DOS b
Message
From
20/04/2000 13:53:08
 
 
To
19/04/2000 01:54:10
Paul Healy
Pastel Consultants
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00360758
Message ID:
00361950
Views:
15
>Hi Ed,
>I have been using the following to print textfiles :
>COPY &ffname \\compname\prntname
>or
>COPY &ffname LPT1
>(where ffname could be c:\fp2000\arrfa.prn).
>
>Do you know the reason why the following doesn't work?
>launchappandwait("COPY &ffname LPT1")
>

Yep - COPY is an internal command - no external application to invoke. Either invoke a command processor explicitly (COMMAND /C COPY) or use an external equivalent like XCOPY.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform