On Windows Server 2003
The following batch file below will rename a file called: filename.txt
*where date = todays date and is displayed as
MMDDYYYY (MM=Month DD = Day YYYY = year)
for %%a in ("filename.txt") do ren "%%~a" "%%~na%today:/=%%%~xa" ::END BATCH
The batch file runs daily and will always rename the file to the today's date.
I need to display the date as YYYYMMDD (year month day) instead of MMDDYYYY.
so the file will be renamed filenameYYYYMMDD.txt. Any ideas on how to do this? Thanks.
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package. For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Learn the basics of lists in Python.
Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…