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
Fortigate SSLVPN configuration
Would you recommend Draytek Vigor 2820 for site-to-site VPN
ASP.NET Membership minRequiredNonalphanumeric
Characters
Problem
How to generate an HTML file if I've got the HTML body?
Enable tcp_nodelay
VMWare ESXI training material?
Files scp'ed from Unix servers to Win XP (running WinSSHD V5 ) could not be deleted on the PC
OWA no longer working after Exchange 2010 rollup 4
Yum v. 3.2.22 throws segmentation fault no matter which command i issue to it on centos 5.4.
Need to reinstall OS on a laptop