Microsoft
Software
Hardware
Network
Question : How to append DateTime to a Filename in DOS
Hi,
I try to take backup of some configuration files of Oracle with DOS commands with the script below ;
copy d:\app\Administrator\produ
ct\11.1.0\
db_1\NETWO
RK\ADMIN\t
nsnames.or
a d:\backup\backup_conf\tns_
%date%.ora
As it' s understood from the script, the script copies tnsnames.ora file adding date at the end of the filename. I also tried to add the current time but it didn' t work.
How is time added at the end of the filename ?
Answer : How to append DateTime to a Filename in DOS
Try
1: 2:
final String RE = "\\d{6}-?\\d{4}"; boolean valid = s.matches(RE);
Random Solutions
Run Windows 2008 Server in virtual environment on Windows 7 PRO?
Backup Exec 12.5 Job Running Extremely slow
SQL 2008 Installation in SBS 2008 Premium Env
SBS 2003 to 2008 Migration Preparation Tool Error
Need to get the ip subset of a city
Installing BES on SBS 2008
HiJackThis Analysis. Also "NoIE4StubProcessing"
Moving WordPress Site - Page Not Found
Remove underscore from folder names and replace with space
TSQL nested WHILE EXISTS