Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


How to determine the size of a file?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to determine the size of a file?
  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 >>
 How to determine the size of a file? - 5/24/2001 5:55:39 AM   
  Daimaju

 

Posts: 4
Score: 0
Joined: 5/24/2001
From: Aruba
Status: offline
-
 
 
Post #: 1
 
 Re: How to determine the size of a file? - 5/30/2001 3:13:11 AM   
  adminkoe

 

Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
<%

Set fsobj=Server.CreateObject("Scripting.FileSystemObject")
Set auto=fsobj.GetFile(server.mappath("myfile.zip"))
getSize=auto.size

response.write the filesize is:" & getSize

%>

Regards,
Andi Zain

(in reply to Daimaju)
 
 
Post #: 2
 
 
 
  

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 >> How to determine the size of a file? 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