[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: DOS Copy command
- Subject: Re: DOS Copy command
- From: Wayne Ivory <wivory@WSL.COM.AU>
- Date: Tue, 7 Jul 1998 08:20:37 +0800
I haven't tried it, but I suspect your problem comes about because COPY is an intrinsic command, ie it's built in to the command processor and doesn't exist as an actual file like COPY.EXE which the call system command is probably looking for. I'm assuming the other commands you tried that worked do in fact exist as files.
So, one way to get around your problem would be to create a GKCOPY.BAT file that just says COPY %%1 %%2 and call GKCOPY from your SQR.
Hope this helps.
Wayne Ivory
Information Services
Westralian Sands Limited
>>> "Kearns, Gary" <KearnsG@HSN.NET> 1/7/98 8:11:07 pm >>>
Has anyone got the DOS "Copy" command to work using the call system
command? I always get a return code of 2. Other DOS commands work but
copy doesn't seem to work.
Any help would be appreciated.
Thanks,
Gary
Gary Kearns
HSN PeopleSoft Implementation
(813) 572-8585 x5070
kearnsg@hsn.net