Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Move n files sort by Filename
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 - 28 of 28 - 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
 
Todd Vargo  
View profile  
 More options Nov 11 2009, 10:00 pm
Newsgroups: microsoft.public.scripting.vbscript
From: "Todd Vargo" <tlva...@sbcglobal.netz>
Date: Wed, 11 Nov 2009 17:00:49 -0500
Local: Wed, Nov 11 2009 10:00 pm
Subject: Re: Move n files sort by Filename

James Watkins wrote:
> Todd Vargo wrote:
> > But I though this was a post whatever code you want thread. ;-)

> > BTW, as long as we are discussing posting habits, when did it become
> > customary to quote sigs when responding? :-O

> You sound a little miffed, pal.

That will self correct during the 2012 planet alignment.
Windows will begin working correctly as well. ;-)

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)


    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.
Richard.Williams.20  
View profile  
 More options Dec 7 2009, 11:01 pm
Newsgroups: microsoft.public.scripting.vbscript
From: "Richard.Williams.20" <richard.williams...@gmail.com>
Date: Mon, 7 Dec 2009 15:01:40 -0800 (PST)
Local: Mon, Dec 7 2009 11:01 pm
Subject: Re: Move n files sort by Filename

> I would be
> a bit leery of using a Windows scripting tool
> written by people who think Windows uses Unix
> syntax in file paths.

I believe the engineers who make Windows are smarter than that. Enter
the following commands in your DOS prompt.

cd "C:/Temp"
type "C:/Temp/somefile.txt"

They work, eh ?

They both accept both backslash and forward slash. UNIX, linux,
networking prefer one way, Windows another way. I work in the UNIX,
Java world. If you were to ask me , the purpose of a tool like
bscripting is to bring the power of UNIX shell scripting to windows.
That's just my opinion - no one told me that. Also, a script works the
exact same way in all Windows versions.


    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.
Dave Crash Dummy  
View profile  
 More options Dec 8 2009, 1:18 pm
Newsgroups: microsoft.public.scripting.vbscript
From: "Dave \"Crash\" Dummy" <inva...@invalid.invalid>
Date: Tue, 08 Dec 2009 08:18:52 -0500
Local: Tues, Dec 8 2009 1:18 pm
Subject: Re: Move n files sort by Filename

The "files" collection is sorted by default:

'------------mover.vbs-----------
set fso=Wscript.CreateObject("Scripting.FileSystemObject")
set folder=fso.getFolder("d:\source")
n=0
for each file in folder.files
        fso.MoveFile file.path, "d:\destination\"
        n=n+1
        if n=5 then exit for
next
'------------------------------------

--
Crash

Ignorance is curable. Stupidity is refusing treatment.


    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
©2010 Google