1 Replies - 1369 Views - Last Post: 31 December 2009 - 06:27 AM Rate Topic: -----

#1 phzeroltd  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 24
  • Joined: 19-October 09

Command Line Timestamp

Posted 29 December 2009 - 04:04 AM

Hi There,

I am currently writing a batch file to transfer and convert a Microsoft MultiMap file to a KML (GoogleMaps) file. The actual conversion part I have done fine, however I reach a problem when saving, because GoogleMaps will only update if the file name is different. I wanted to get round this by adding a timestamp when saving the converted .kml file, however I am not sure how to do this in the command line. My conversion script is as follows:

poiconverter -f axe -t kml -i LAM\startfile.axe -o GoogleMaps\listfile.kml -idt points -odt points


Is there something I can add to the file name of the result file "GoogleMaps\listfile.kml" which will create a timestamp after "listfile"?

Thanks in advance,

Mike

Is This A Good Question/Topic? 0
  • +

Replies To: Command Line Timestamp

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6246
  • View blog
  • Posts: 24,014
  • Joined: 23-August 08

Re: Command Line Timestamp

Posted 31 December 2009 - 06:27 AM

Since it looks like you're using Windows (you did not tell us), how's this?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1