Saturday, June 29, 2013

Batch File to Create a timestamp Named File

I came across a situation where I needed to copy FW images repeatably to a shared location. It didn't take me long to realize that this must be automated. And, when I build FW, file should automatically be copied to the shared location.

Here is the batch file which I wrote to do so.

It takes a file from your working directory and copies to shared server location.
But additionally, it adds time stamp suffix to newly created file.











This batch file can be fetched from here.

I have also scribed about batch files . I think this is bare minimum must have knowledge for any C programmer.

No comments: