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
Calculating a CRC-16
Custom facebook share image-button
Exchange database backup failing with Arcserve v15
School Network
Mac CSS Issue
FileZilla Server Setup problem
XP Pro Workstation Boot times
Load Balancing two ADSL connections for small office
*Warning: System BOOT Fail*
Get-Eventlog -> Export-CSV long eventmessages -> problem