PC Review


Reply
Thread Tools Rate Thread

How to create a folder using current date as folder name?

 
 
=?Utf-8?B?TmlnZWwgTGVl?=
Guest
Posts: n/a
 
      28th Nov 2005
I tried typing in command prompt "md %date%" and it returns "The syntax of
the command is incorrect". I guess %date% is not the correct variable...

How can I create a folder with name in YYYYMMDD format?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TmlnZWwgTGVl?=
Guest
Posts: n/a
 
      28th Nov 2005
yeah I found the soln
syntax error occur becoz my system is configured to show time in yyyy/mm/dd
where slash is illegal for folder name
changed to yyyy-mm-dd in control panel > regional settings, then the md
%date% works flawlessly

"Nigel Lee" wrote:

> I tried typing in command prompt "md %date%" and it returns "The syntax of
> the command is incorrect". I guess %date% is not the correct variable...
>
> How can I create a folder with name in YYYYMMDD format?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
create appointment for current folder Thelen Microsoft Outlook VBA Programming 4 16th Sep 2005 04:40 PM
Re: changing a folder name to the current date guard Microsoft Windows 2000 CMD Promt 6 28th Sep 2003 05:18 PM
Re: changing a folder name to the current date guard Windows XP New Users 0 24th Sep 2003 03:51 AM
Re: changing a folder name to the current date guard Microsoft Windows 2000 New Users 0 24th Sep 2003 03:51 AM
Re: changing a folder name to the current date guard Microsoft Windows 2000 CMD Promt 0 24th Sep 2003 03:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 PM.