Re: Getting Free Disk Space in Windows XP

Posted: 07-17-2003, 02:19 PM
"Barry Skidmore" <skidmore@worldvenue.org> wrote in message
newsan.2003.07.10.17.41.14.614001@worldvenue.org ...
> I have found various batch file examples for Windows 9X that extract only
> the available disk space at the end of a 'dir' command and place it into
> an environment variable, however I have been unable to get any of them to
> work for Windows XP.
>
> Could someone please point me to a web site that might have a solution to
> this XP quirk.
>
* THIS IS AN NT/2K/XP/K3 Specific Answer *

The Mount/\Command ".GetFree" can give you free space for a
local/mapped drive or a UNC path as follows:

For a local/mapped drive

M:
%.GetFree%

For a UNC path

PUSHD \\Server\c$
%.GetFree%
POPD

*******

The related command ".GetFreeM" provides free space in Millions of bytes,
allowing accurate display and manipulation of up to about 1,862,645
Gigabytes free using only the builtin command set.

*******

More information and color-keyed examples:

(http://TheSystemGuard.com/MtCmds/GetValue/GetFree.htm)
(http://TheSystemGuard.com/MtCmds/GetValue/GetFreeM.htm)

*******

All of these are part of the .Mount/\Command Set (over 200 commands). These
are extensions to the builtin command set that perform CONSISTENTLY across
NT/2K/XP/K3 as well as providing self-documenting code for your scripts.

See (http://MountCommands.com) for more information.

*******

Notes:

1. .Mount/\Commands are constructed using ONLY builtin
commands common to all four platforms (NT/2K/XP/K3).
2. .M/\C's are NOT case sensitive. Mixed case is used
for visual clarity only.
3. The (FREE) Advanced NT/2K/XP Command Library
(ntlib.cmd) provides over 100 resources to assist
with writing and documenting cross-platform scripts,
including over 50 .M/\C's. You can obtain it
(for FREE) at (http://ntlib.com).

*******

-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!


Re: Getting Free Disk Space in Windows XP


Reply With Quote

Responses to "Re: Getting Free Disk Space in Windows XP"

Todd Vargo
Guest
Posts: n/a
 
Re: Getting Free Disk Space in Windows XP
Posted: 07-17-2003, 10:06 PM

"guard" <^T^S^G^n^e^w^s^@TheSystemGuard.com> wrote
>
> * THIS IS AN NT/2K/XP/K3 Specific Answer *
I have been meaning to ask you, what is K3?

--
Todd Vargo (body of message must contain my name to reply by email)



Reply With Quote
guard
Guest
Posts: n/a
 
Re: Getting Free Disk Space in Windows XP
Posted: 07-18-2003, 01:28 PM
K3 is a two-letter acronym for Windows Server 2003.

-tsg
__________________________________________________ __________
TheSystemGuard.com | BoomingOrFuming.com | MountCommands.com
Free and "Almost Free" Knowledge for Windows System Admins!

"Todd Vargo" <toddvargo@nccw.net> wrote in message
news:bf7a77$br67j$3@ID-25025.news.uni-berlin.de...
>
> "guard" <^T^S^G^n^e^w^s^@TheSystemGuard.com> wrote
> >
> > * THIS IS AN NT/2K/XP/K3 Specific Answer *
>
> I have been meaning to ask you, what is K3?
>
> --
> Todd Vargo (body of message must contain my name to reply by email)
>
>
>

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i tell how much free space is on a windows 98? Guest Windows 95/98/Me 0 02-22-2008 10:03 AM
disk free space anomaly dave4503 Windows Vista Performance & Maintenance 2 06-15-2006 10:54 PM
Deleting/removing files does not change 'free vs. used disk space' display Darold Klauk Windows XP Device Drivers 1 12-18-2003 03:00 AM
Free disk space error Fredrik Greén Windows XP Help & Support 0 10-16-2003 07:45 AM
Disk cloning / 'free space' for ewf Juergen Schuster Windows XP Embedded 0 07-04-2003 09:08 AM