TIP: Click on subject to list as thread! ANSI
echo: batpower
to: ALL
from: Luuk
date: 2008-03-02 19:03:10
subject: Re: FileSize.bat (without bytes free)...

Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!newsgate.cistron.nl!transit2.news.xs4all.nl!transit.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Date: Sun, 02 Mar 2008 19:03:10 +0100
From: Luuk 
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: alt.msdos.batch,alt.msdos.batch.nt,fidonet.batpower
Subject: Re: FileSize.bat (without bytes free)...
References: 
In-Reply-To: 
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: 
Lines: 17
NNTP-Posting-Host: 62.251.88.195
Bytes: 1495
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93452
 alt.msdos.batch.nt:42394 fidonet.batpower:585

FileGod schreef:
> I was just messing arround & have not seen a FileSize.bat the same as this,
> I did not know find could be used in the command more than once so I thought
> I would try it, I am not sure if it would work in DOS or Win 9x but I think
> it would, it might be interesting to see how some else uses this...
> 
> @echo off
> dir %1|find "bytes"|find /v "bytes free"
> 
> http://www.filegod.netfirms.com
> 

for WinXP you can also do:
@echo %~f1 has filesize of %~z1 bytes

-- 
Luuk

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.