Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - If file size > 0 then...

Reply
 
Old 08-14-2009   #1 (permalink)
Robert Jacobs


 
 

If file size > 0 then...

Thanks in advance for support!

I have a script, that I need to look in a folder (for now, directly in
the root of c:\) for a specific file (called log.txt), and if the
log's size is greater than 0 kb, do something, if not, go to the next
step. I am having an AWFUL time trying to find an answer for this,
but it seems so simple! Any advice???

Thanks!

My System SpecsSystem Spec
Old 08-14-2009   #2 (permalink)
Todd Vargo


 
 

Re: If file size > 0 then...

Robert Jacobs wrote:
Quote:

> Thanks in advance for support!
>
> I have a script, that I need to look in a folder (for now, directly in
> the root of c:\) for a specific file (called log.txt), and if the
> log's size is greater than 0 kb, do something, if not, go to the next
> step. I am having an AWFUL time trying to find an answer for this,
> but it seems so simple! Any advice???
No problem! Post the code you tried and someone will explain what needs
changed to make it work.

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

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
VHD File Size Virtual PC
file size Vista music pictures video
.VOB File Size Vista music pictures video
file size Vista installation & setup
server working for me now, but getting incorrect file size on file Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46