cmd.net: df, enc, guid

The df command of the cmd.net collection lists all available drives and their total space, used and free space in GB.

Drive Total  Used  Free Used% FS     Label
C:\      97    57    39   59% NTFS
D:\     833   443   389   53% NTFS
E:\       0     0     0     %

(e: being a removable disk drive in this case)

The guid command writes a new GUID to stdout

D:\projects\cmdnet\net40>guid
d9999ffd-659d-4f56-a38e-698005ed3a9b

The enc command converts an encoded stdin to a different encoding on stdout using the -in [encoding] and -out [encoding] command-line switches.

enc -in [CP number or encoding name]
    -out [CP number or encoding name]
    < [input filename]
    > [output filename]
some-batch-command 
    | enc -out [CP number or encoding name] 
    > [output filename]

The current version of cmd.net is available for download here.

One Response to cmd.net: df, enc, guid

  1. […] available for download here, and contains the commands listci, listenc, netenv, netver, datetime, df, enc, guid, tee, uniq, xslt. GA_googleAddAttr("AdOpt", "1"); GA_googleAddAttr("Origin", "other"); […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: