title: Inserting date/time stamp in file name using BAT script
body: <p>I have a BAT script which creates a file with data from a SQL stored procedure. What i would like to do is rename that file with a date/Time stamp but have not found a workable solution yet in google search.</p>
  
  <p>example. current file name Pcnt.txt change it to PcntYYYYMMDDHHMM.csv, I am able to get the format to change to csv but the file is just renamed to Pcnt.csv and would need to add some code which will insert the date/time stamp.</p>
  
  <p>Please help</p>
  
  <p>thank you</p>