||Re: DOS command
ED FURCHE <ED@UNIV-COMPUTERS.COM>
||Sat, 25 Jun 2022 10:11:20 -0400
Andy Taylor Wrote:
> Hi Ed,
> Your code doesn't work because you have doubled up on the ! (or run) command.
> Run Run XCOPY g:\excel\cash012022.csv G:\CASH.CSV
> Is there a reason why you are using DOS commands here?
> You could just use the dBASE copy file command instead.
> didnt work also tried putting ! in front still didnt work.
> stname = "g:\excel\cash012022.csv"
> stname = "copy file "+stname+" "+"G:\CASH.CSV"
> > Why doesn't this work?
> > stname="g:\excel\cash012022.csv"
> > stname="!XCOPY " + stname + " G:\CASH.CSV"
> > !stname