Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Sort files collection ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 33 of 33 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Reventlov  
View profile  
 More options Sep 24, 8:32 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.scripting.wsh
From: no...@no.void (Reventlov)
Date: Thu, 24 Sep 2009 20:32:29 GMT
Local: Thurs, Sep 24 2009 8:32 pm
Subject: Re: Sort files collection ?
Il giorno Wed, 23 Sep 2009 07:49:11 -0400, mr_unreliable
<kindlyReplyToNewsgr...@notmail.com> ha scritto:

In mayayana site there is a zip with several sorting code.
www.jsware.net

A list of files can be sorted using the switches of the dir command and redirecting the
output.
Or shell a sort command on the list (sort by name only).

--
Giovanni Cenati (Bergamo, Italy)
Write to "Reventlov" at katamail com
http://digilander.libero.it/Cenati (Esempi e programmi in VbScript)
--


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tonyb  
View profile  
 More options Nov 2, 2:36 am
Newsgroups: microsoft.public.scripting.vbscript
From: tonyb <gu...@unknown-email.com>
Date: Sun, 1 Nov 2009 20:36:45 -0600
Local: Mon, Nov 2 2009 2:36 am
Subject: Re: Sort files collection ?

I know this is a bit off thread, as this is just in normal Windows
usage, but I use the current ISO date/time string (yy;MM;ddthh;mm;ss) as
a unique identifier, pasting it before the file name, for any files I
want to keep in the order I filed them or received them (usually work
related).

--
tonyb


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr J R Stockton  
View profile  
 More options Nov 3, 5:34 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Dr J R Stockton <reply0...@merlyn.demon.co.uk>
Date: Tue, 3 Nov 2009 17:34:53 +0000
Local: Tues, Nov 3 2009 5:34 pm
Subject: Re: Sort files collection ?
In microsoft.public.scripting.vbscript message <22f6f6d408818bb58f99a98c
2b24a...@nntp-gateway.com>, Sun, 1 Nov 2009 20:36:45, tonyb
<gu...@unknown-email.com> posted:

>I know this is a bit off thread, as this is just in normal Windows
>usage, but I use the current ISO date/time string (yy;MM;ddthh;mm;ss) as
>a unique identifier, pasting it before the file name, for any files I
>want to keep in the order I filed them or received them (usually work
>related).

I do not see where ISO 8601:2004 allows either a two-digit year or a
semicolon as separator.  While the first two digits of the year will not
change soon, they do serve to indicate that the field order is not MDY
of DMY, and is probably YMD.

--
 (c) John Stockton, nr London, UK.    ?...@merlyn.demon.co.uk     Turnpike v6.05.
 Web  <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Dunbar  
View profile  
 More options Nov 4, 5:05 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Al Dunbar" <aland...@hotmail.com>
Date: Tue, 3 Nov 2009 22:05:48 -0700
Local: Wed, Nov 4 2009 5:05 am
Subject: Re: Sort files collection ?

"Dr J R Stockton" <reply0...@merlyn.demon.co.uk> wrote in message
news:Vyslo1P9mG8KFwSy@invalid.uk.co.demon.merlyn.invalid...

> In microsoft.public.scripting.vbscript message <22f6f6d408818bb58f99a98c
> 2b24a...@nntp-gateway.com>, Sun, 1 Nov 2009 20:36:45, tonyb
> <gu...@unknown-email.com> posted:

>>I know this is a bit off thread, as this is just in normal Windows
>>usage, but I use the current ISO date/time string (yy;MM;ddthh;mm;ss) as
>>a unique identifier, pasting it before the file name, for any files I
>>want to keep in the order I filed them or received them (usually work
>>related).

> I do not see where ISO 8601:2004 allows either a two-digit year or a
> semicolon as separator.  While the first two digits of the year will not
> change soon, they do serve to indicate that the field order is not MDY
> of DMY, and is probably YMD.

Dr. J., I am surprised, and even a bit shocked, to see you being almost an
apologist for a practice that has no particular justification ;-)

We relied on a similar trick in the previous century, during most of which
the two digit year would invariably be greater than the largest possible day
of month number. You may recall the name of the phenomenon that occurred
when it finally dawned on us that we were, effectively, planning our own
obsolescence. Kind of like my mother in law who back in the 1990's had a
tombstone sculpted for herself with the first two digits of the date of
death being pre-carved as "19". A common, and even practical, practice
earlier in the century. Apparently the few who were born in the 1890's and
who lived into the 21st century thought better of the idea and left the
slate completely blank as long as they could.

/Al


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr J R Stockton  
View profile  
 More options Nov 4, 11:32 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Dr J R Stockton <reply0...@merlyn.demon.co.uk>
Date: Wed, 4 Nov 2009 23:32:43 +0000
Local: Wed, Nov 4 2009 11:32 pm
Subject: Re: Sort files collection ?
In microsoft.public.scripting.vbscript message <#F#E5xQXKHA.4688@TK2MSFT
NGP06.phx.gbl>, Tue, 3 Nov 2009 22:05:48, Al Dunbar
<aland...@hotmail.com> posted:

Attribute it to a lack of understanding on your own part.

--
 (c) John Stockton, Surrey, UK.  ?...@merlyn.demon.co.uk   Turnpike v6.05   MIME.
 Web  <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
 Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
 Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tonyb  
View profile  
 More options Nov 6, 4:12 pm
Newsgroups: microsoft.public.scripting.vbscript
From: tonyb <gu...@unknown-email.com>
Date: Fri, 6 Nov 2009 10:12:59 -0600
Local: Fri, Nov 6 2009 4:12 pm
Subject: Re: Sort files collection ?

I must accept your castigation for not having done my homework properly.
The year in ISO format should indeed have 4 digits. Unfortunately,
although the correct seperator is a colon, windows does not allow this
in file names!

--
tonyb


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dr J R Stockton  
View profile  
 More options Nov 7, 6:14 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Dr J R Stockton <reply0...@merlyn.demon.co.uk>
Date: Sat, 7 Nov 2009 18:14:07 +0000
Local: Sat, Nov 7 2009 6:14 pm
Subject: Re: Sort files collection ?
In microsoft.public.scripting.vbscript message <a770c07dcdb529f6d921d8db
0eb9a...@nntp-gateway.com>, Fri, 6 Nov 2009 10:12:59, tonyb
<gu...@unknown-email.com> posted:

>I must accept your castigation for not having done my homework
>properly.
>The year in ISO format should indeed have 4 digits. Unfortunately,
>although the correct seperator is a colon, windows does not allow this
>in file names!

The correct time separator is a colon.

You can use - between the date fields and _ between the time fields.

Probably better to use the compact ISO date and time forms YYYYMMDD and
hhmmss, and to put a minus between them - 20091107-181247etc.etc .

--
 (c) John Stockton, Surrey, UK.  ?...@merlyn.demon.co.uk   Turnpike v6.05   MIME.
 Web  <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
 Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
 Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Dunbar  
View profile  
 More options Nov 9, 6:34 am
Newsgroups: microsoft.public.scripting.vbscript
From: "Al Dunbar" <aland...@hotmail.com>
Date: Sun, 8 Nov 2009 23:34:21 -0700
Local: Mon, Nov 9 2009 6:34 am
Subject: Re: Sort files collection ?

"Dr J R Stockton" <reply0...@merlyn.demon.co.uk> wrote in message
news:28VN7Tsb8g8KFw32@invalid.uk.co.demon.merlyn.invalid...

My apologies, however, it was more a lack of interpretation on my part than
understanding. To me it's not the value of digits in the year that indicate
the YMD order, but the fact that there are more than two of them, plus the
fact that YDM is the least likely order possible.

/Al


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google