DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
how to rename a file on cmd prompt to current date
ren somefile.txt somefile_%time:~0,2%%time:~3,2%-%date:~-10,2%%date:~3,2%%date:~-4,4%.txt
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#rename
#file
#cmd
#prompt
#current
#date
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit