Batch file in android

Discussions about CSEntry
Post Reply
manojsoni
Posts: 23
Joined: November 22nd, 2012, 11:55 pm
Location: Jaipur, India

Batch file in android

Post 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
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Batch file in android

Post 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.
manojsoni
Posts: 23
Joined: November 22nd, 2012, 11:55 pm
Location: Jaipur, India

Re: Batch file in android

Post by manojsoni »

I will try for that.
Thanks and Regards
Manoj
Post Reply