said:
>That much works OK. But the file exits at that point.
No it did not. It is waiting for you to exit the secondary shell you
started. FWIW, this matches the behavior of cmd.exe.
>IF NOT EXIST L:\WEBBACK MD L:\WEBBACK
>IF NOT EXIST L:\WEBBACK\RAY MD L:\WEBBACK\RAY
>IF NOT EXIST L:\WEBBACK\RAY\MAIL MD L:\WEBBACK\RAY\MAIL
>K:\4OS2\4os2.exe copy /S/H/U/V/Z K:\WEBDATA\RAYCHART\MAIL\*.*
>L:\WEBBACK\RAY\MAIL
To get the behavior you want use
K:\4OS2\4os2.exe /c copy /S/H/U/V/Z K:\WEBDATA\RAYCHART\MAIL\*.*
L:\WEBBACK\RAY\MAIL
The /c tells the secondary shell to exit after processing the command
arguments.
See the 4OS2 help section titled "Starting 4OS2" for the gory details.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.67 #10183 eCS/Warp/DIY/14.103a_W4 etc.
www.scoug.com irc.ca.webbnet.info #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 26 |
February |
2007 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.