Page 1 of 1

Batch file in android

Posted: July 12th, 2014, 7:43 am
by manojsoni
In windows, desktop computer,

Dear All

In cspro, to copy a data file with data stamp, and for a automatic backup, I use the batch file command

copy file.dat file%DATE%.dat

so it gives me backup of my data file with the date of backup.

As my android application is in device storage/csentry folder and I want to make this copy in to sd card storage

Any idea about it.

Thanks and Regards


Manoj

Re: Batch file in android

Posted: July 14th, 2014, 12:30 pm
by Gregory Martin
Can you incorporate CSPro logic like this?
filecopy("file.dat",maketext("file%08d%06d.dat",sysdate("YYYYMMDD"),systime()));
You could specify the path of the storage dictionary in the maketext function, if needed.

Re: Batch file in android

Posted: July 15th, 2014, 6:15 am
by manojsoni
I will try for that.
Thanks and Regards
Manoj