ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > Operating Systems

Reply
 
LinkBack Thread Tools Display Modes
Old 03-13-2006, 01:34 AM   #1 (permalink)
Platinum Member
 
Scrat's Avatar
 
Join Date: Aug 2004
Location: Sydney, Australia
Age: 27
Posts: 630
Default Rename file to current date/time???

Does anyone know how i can rename a file in DOS with the current date & time as the name.

I would like to create a batch file that when run, will rename "file1" so that it is named instead with the current system date&Time??
__________________
AMD Athlon 64 3500+, GigaByte GA-K8NS Ultra-939 Ltd Ed.
ATI Radeon GeCube 256Mb 9600XT, Compro DVB-T300 Dig/Analog TV Card
2x 1GB, 2x 512Mb DDR CL3 400Mhz PC3200 - Dual Channel
WD 120Gb SATA 7200rpm 8MB, WD 80Gb SATA 7200rpm 8MB
Excel 108Mb Wireless PCI, WinXP Prof.
Samsung CD-R/RW 52-32-52, Samsung DVD 16x reader, LG DVD MultiBurner
Benq 17" FP71E 12ms LCD, Logitech LX700 K&M, Logitech G25 Racing Wheel, Logitech Z-5400
FOLDING FOR THE GOOD OF MANKIND!! Team 44358
Scrat is offline   Reply With Quote


Old 03-13-2006, 05:55 PM   #2 (permalink)
VIP Member
 
lee101's Avatar
 
Join Date: Mar 2005
Location: UK
Age: 17
Posts: 1,147
Default

that would actually be a good idea, then when i run the batch file that backs up my computer i could put each backup in a folder with its date, i will have a look arond to see if there is a way, it must be possible, but i've just got to do RE homework first

Lee
__________________
My PC: Core2Duo E6300 @ 1.86 Ghz, Asus P5v-VM DH , 200 GB Maxtor SATA ,2GB (2*1GB Kingston DDRII), Radeon x1650 Graphics (256 mb), 2* Acer 17 inch TFT's, Windows Vista Home Premium
Server: AMD Athlon XP 2800+ 256 Mb Ram, 8Gb IDE for o/s, 2 * 250GB SATAII for storage, Ubuntu Server 7.10

lee101 is offline   Reply With Quote
Old 03-14-2006, 12:36 AM   #3 (permalink)
Platinum Member
 
Scrat's Avatar
 
Join Date: Aug 2004
Location: Sydney, Australia
Age: 27
Posts: 630
Default

yeah i need it for backups too... but i also have to make it run every half hour. let me know if you find a way.
__________________
AMD Athlon 64 3500+, GigaByte GA-K8NS Ultra-939 Ltd Ed.
ATI Radeon GeCube 256Mb 9600XT, Compro DVB-T300 Dig/Analog TV Card
2x 1GB, 2x 512Mb DDR CL3 400Mhz PC3200 - Dual Channel
WD 120Gb SATA 7200rpm 8MB, WD 80Gb SATA 7200rpm 8MB
Excel 108Mb Wireless PCI, WinXP Prof.
Samsung CD-R/RW 52-32-52, Samsung DVD 16x reader, LG DVD MultiBurner
Benq 17" FP71E 12ms LCD, Logitech LX700 K&M, Logitech G25 Racing Wheel, Logitech Z-5400
FOLDING FOR THE GOOD OF MANKIND!! Team 44358
Scrat is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:01 PM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum