Subject Re: DDE help
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Thu, 27 Feb 2020 13:46:47 +0530
Newsgroups dbase.getting-started
Attachment(s) BACKUP.BATBACKUPak.BAT

>
> Passing parameters to a program is all very well for start-up values but
> Robbie wants to pass values between programs as the values change
> throughout the day.

Good afternoon Mervyn,
I use batch files to take backups with changed name every half an hour.
2 such files are attached.

Batch files are written using the file object.

Then they are run using runhidden of duflp.

The exe in this case is a mariadb backup exe but it could have been a
dBase exe or anyother exe.

The paramaeters keep on changing.

And the parameters need not be values. They could be csv file names
containing data to be processed as well.

So it all depends what type of data needs to be processed and format.
Naturally Arrays cannot be passed as parameters (I presume).

It is very hard to say it will work for Robie or not as we do not have
what type of data that needs to be processed.

Regards
Akshat



"C:\Program Files\MariaDB 10.3\bin\mysqldump" -u root ks barcode day19 inve19 label0 label1 label19 mast19 prof19 purch19 quot19 sales19 rapid tax119 tax219 trans19 vatrate jour19>c:\backup\dbase\muneemado\hourly_20200227_1314.sql
copy hourly_20200227_1314.sql "C:\Users\user\Google Drive\hourly28.sql"


"C:\Program Files\MariaDB 10.4\bin\mysqldump" -u root --databases stories  AK SK NK AKHUF KK NAN SKHUF A11 >c:\backup\dbase\muneemado\aweekly_2020_09.sql
"C:\Program Files\MariaDB 10.4\bin\mysqldump" -u root --databases stories  AK SK NK AKHUF KK NAN SKHUF A11 >c:\backup\dbase\muneemado\adaily_20200224.sql
"C:\Program Files\MariaDB 10.4\bin\mysqldump" -u root --databases stories  AK SK NK AKHUF KK NAN SKHUF A11 >c:\backup\dbase\muneemado\ahourly_20200224_1345.sql