[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Question on CALL SYSTEM
- Subject: Re: Question on CALL SYSTEM
- From: "Fehl, Douglas" <dfehl@HERSHEYS.COM>
- Date: Wed, 7 Jul 1999 09:35:16 -0400
I believe the problem may be with your DOS command. For the target
directory, either leave the last backslash off: c:\target or add the
wildcards: c:\target\*.*
> ----------
> From: Anthony Leung-New York[SMTP:ALeung@RUSSREYN.COM]
> Sent: Wednesday, July 07, 1999 8:57 AM
> To: Multiple recipients of list SQR-USERS
> Subject: Question on CALL SYSTEM
>
> Dear all,
>
> I have a sqr that is running on a Windows 95 environment. I need to do a
> CALL SYSTEM to copy files from one directory to another. According to the
> SQR Reference book the syntax should be as follow:
>
> CALL SYSTEM USING 'copy c:\source\*.* c:\target\' #s
>
>
> where #s returns the status of the call.
>
> I ran the sqr but the return status is always 2 (which indicates an error)
> and nothing gets copied over to the target
>
> Can someone shed some light in this area.
>
> Thanks
>