----^--->
/\

//\\
//The\
/Sy
stem\
////
Guard
\

In the mount of the LORD it shall be seen. Genesis 22:14

.ListValue

Booming Or Fuming? | MasterCatalog | ntlib (FREE) | NTCmdLib | MtCmds | Scripts | Almost Free | TheGuardBook | Help

 

Types of
.Mount/\Commands

.CrystalClear | .ExactName | .ExitELn | .GetValue | .ifCondition | .ifELn | .IsPattern | .ListValue | .NetValue | .NowValue | .RedirRapids | .ReliableReporting | .RestoreValue | .SetELn | .ValueEcho

.ListValue
Series

  ListAvail | ListCD | ListIPAddr | ListIPGateway | ListIPMask | ListMac | ListNic

.List[Value] Series

  1. Retrieve, optionally reformat and display one or more instances of value to the console
  2. Optionally save the retrieved values in one or more variables.
  3. Set an errorlevel, if applicable, based on the result
     

.Mt/\Cmd

Sample
Output
Description
.ListAvail

H
J
Q
Z

Lists all available (unused and unmapped) drive letters
.ListCD

C:\GuardPost
D:\
T:\

Lists current directory of all accessible local and remote drives.
.ListFree

C,2000000000
D,68034048
T,393187328

Comma-delimited list of free space (in bytes) on all accessible local and remote drives
.ListFreeM

C,19040
D,68
T,393

Comma-delimited list of free space (in Millions of bytes) on all accessible local and remote drives
.ListIPAddr 207.46.249.190
172.16.7.77
Lists one or more IP Addresses as nnn.nnn.nnn.nnn or returns nothing and sets EL=123)
.ListIPGateway 207.46.249.1
172.16.7.1
Lists one or more Default Gateway Addresses as nnn.nnn.nnn.nnn or returns nothing and sets EL=123)
.ListIPMask 255.255.255.192
255.255.255.0
Lists one or more Subnet Masks as nnn.nnn.nnn.nnn or returns nothing and sets EL=123)
.ListMac 00-80-C6-F1-6A-B3
00-60-08-AF-71-6F
Lists one or more MACs (Hardware Addresses) as nn-nn-nn-nn-nn-nn or returns nothing and sets EL=123)
.ListNic PCI Bus Master Adapter
3Com 3C90x Ethernet Adapter
Lists one or more NIC "Description" text from IPConfig /all as "text" or returns nothing and sets EL=123)

.ListValue commands will list all instances of value, one per line.  If no instances of value are found, nothing will be returned (some commands also set EL=123 in this case)

/\
//\\
//
The\
/Sy
stem\
////
Guard
\
COME ON UP WITH US!
and
Congratulations On Your Decision
to
RISE ABOVE
THE REST!

^
/
!\
/LIB\

TheSystemGuard.com [Revised: 2007-03-29]
Copyright © 1995-2007, JWC
Computer Communications,
All Rights Reserved, Worldwide.
 Disclaimer       Privacy       About Us       More


Communication Is Business!

We Master It With Knowledge!

^
/
.\
/M^C\