Sunday, October 28, 2007

Rename a File in Batch File

The Following helps in renaming a file using datatime stamp

// you are creating date stamp variable

FOR /F "tokens=1-4 delims=/ " %%i in ('date/t') do set d=%%k%%j%%l

// you are creating Time stamp variable

FOR /F "tokens=1-9 delims=:. " %%i in ('time/t') do set t=%%i%%j
// Here Renaming

ren abcd.doc new_%d%%t%.doc

12 comments:

Anonymous said...

Gostei muito desse post e seu blog é muito interessante, vou passar por aqui sempre =) Depois dá uma passada lá no meu site, que é sobre o CresceNet, espero que goste. O endereço dele é http://www.provedorcrescenet.com . Um abraço.

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Webcam, I hope you enjoy. The address is http://webcam-brasil.blogspot.com. A hug.

Anonymous said...

[B]NZBsRus.com[/B]
Skip Laggin Downloads Using NZB Files You Can Hastily Find HD Movies, Games, MP3 Singles, Applications & Download Them at Electric Rates

[URL=http://www.nzbsrus.com][B]Newsgroup Search[/B][/URL]

Anonymous said...

You could easily be making money online in the hush-hush world of [URL=http://www.www.blackhatmoneymaker.com]blackhat hosting[/URL], You are far from alone if you have no clue about blackhat marketing. Blackhat marketing uses not-so-popular or not-so-known ways to produce an income online.

Anonymous said...

Somewhere I have noticed a similar theme, OK

Anonymous said...

Mr. Expert,

Are you going to have a follow up post or article about this anytime soon? :)

_______
http://www.QSLaw.com

CRM said...

Customer Relationship Management (CRM) Software is a large class of software programs essentially designed to help businesses manage their customer information. Before making a commitment like this, every business should ask if they require a full CRM Software program.

Anonymous said...

thanks seeking this nice tips and quite amicable blogs 753258LGN
viagra

Anonymous said...

Have the preferred [url=http://www.metatemofak.info/education/a-bit-of-research-will-often-uncover-scores-of-scholarships-for-minorities/]Scholarships for Women Over 40[/url]| [url=http://www.farnhamarchers.org/education/college/minority-women-scholarships-are-here-to-help]Scholarships for Hispanics[/url]

intjocrm said...

Intjo CRM
World's most simple, economical and customized CRM
Are you still using old systems to manage inquiries and leads.
Better lead management = Better Revenue
Power of Cloud Computing. Work from anywhere. You just need internet to access the software.
Manage leads, accounts, tasks in a better way.
Assign status, add remarks, follow up and lots more
No software to install. Use from anywhere.
Pay as you use. Free trial for 15 days.

Anonymous said...

Yes there should realize the opportunity to RSS commentary, quite simply, CMS is another on the blog.

Unknown said...

Hi ,

This is Sekhar, have experience in Siebel CRM for 6 years...
i would like to give SIebel CRM And SIEBEL EAI Online Training and tech support.
if you need any help please contact me @ sekhara2yaragudi@gmail.com

Thanks
Siebel Sekhar