Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Arrangement of files

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,51757
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Arrangement of files
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Arrangement of files - 9/11/2007 9:04:38 PM   
  hari_vbscript

 

Posts: 15
Score: 0
Joined: 8/10/2007
Status: offline
 Hi

I wish to arrange a files in the folder as per the date modiifed. can any one help me to get a VB script for attaining this?.
thanks in advance.

Regards,
J.Hari
 
 
Post #: 1
 
 RE: Arrangement of files - 9/11/2007 9:15:19 PM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
Um.  What's wrong with clicking on the "Date Modified" column header in Explorer?

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to hari_vbscript)
 
 
Post #: 2
 
 RE: Arrangement of files - 9/11/2007 9:20:17 PM   
  hari_vbscript

 

Posts: 15
Score: 0
Joined: 8/10/2007
Status: offline
 
I need to get the files from a server. So I need a VB script to get the latest created files.

(in reply to ginolard)
 
 
Post #: 3
 
 RE: Arrangement of files - 9/11/2007 9:34:29 PM   
  ginolard


Posts: 1053
Score: 21
Joined: 8/10/2005
Status: offline
What exactly do you want to do?  Copy the most files from a server to your machine?

_____________________________

Author of ManagePC - http://managepc.net
AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm
Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm

(in reply to hari_vbscript)
 
 
Post #: 4
 
 RE: Arrangement of files - 9/11/2007 9:36:26 PM   
  Parabellum


Posts: 222
Score: 0
Joined: 11/12/2006
From: UK
Status: offline
apparently... you can use the activeX interface of LogParser to access this sort of information...
have a look here..

http://www.microsoft.com/technet/scriptcenter/resources/qanda/oct05/hey1003.mspx


(in reply to hari_vbscript)
 
 
Post #: 5
 
 RE: Arrangement of files - 9/11/2007 9:37:39 PM   
  gdewrance


Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
which one will work

DateCreated Property
This property gets the date and time that the file was created.

Syntax: object.DateCreated

DateLastAccessed Property
Gets the date and time that the file was last accessed.

Syntax: object.DateLastAccessed

DateLastModified Property
This property returns the date and time that the file was last modified.

Syntax: object.DateLastModified

(in reply to hari_vbscript)
 
 
Post #: 6
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Arrangement of files Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts