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
Internet Explorer Nonfunctional After IE8 Upgrade
Sharing camcorder footage
Accuracy of data
Rehab Dell MD3000i or move to NetApp FAS2020 storage array?
Remove Proxy settings from IE using Group policy
Printer Migration from Windows 2003 to Windows 2008 R2
I want three selects, but only require one select to have input
google.class file detected by Norton as High risk - Is it high risk ?
Inventory System (Freeware) Recommendation
Rollover flash "SWF" files are not working in internet explorer