PC Review


Reply
 
 
Aaron
Guest
Posts: n/a
 
      18th Jun 2004
FOR /f "tokens=1-4 delims=/ " %%a in ('date /t') do set date=%%d%%b%%c%
md "%date%"

this gives me the folder 20040616

how i can change it to 040616


 
Reply With Quote
 
 
 
 
David Trimboli
Guest
Posts: n/a
 
      18th Jun 2004
"Aaron" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> FOR /f "tokens=1-4 delims=/ " %%a in ('date /t') do set date=%%d%%b%%c%
> md "%date%"
>
> this gives me the folder 20040616
>
> how i can change it to 040616




FOR /f "tokens=1-4 delims=/ " %%a in ('date /t') do set date=%%d%%b%%c%
md "%date:~2%"


David
Stardate 4464.7


 
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



Features
 

Advertising
 

Newsgroups
 


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