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
Owner cannot modify distributioin group
How to get lightbox to show over Flash banner?
Out of Office Assistant not working w/Forwarding Configured
Redistributing RIP into OSPF non-contiguous subnets.
esx 4 passthrough
Issues with SCCM CCMSetup client
Manage Contacts in Active Directory / Exchange Distribution Lists
How do I combine 2 List<KeyValuePair<,>>'s into a DataTable using LINQ?
Changing instance of SQL installation - need to reconnect BackupExec 12d
Increase Filesystem Size of RHEL 5