******************************************************************************
  (C) Copyright 2003-04 Curtis Systems Software P.C. All rights reserved
                    (last update: 2004 Jul 16c)
******************************************************************************
Some fundamental CSSDIR examples follow:

1.) cssdir
List the files in the current dir, the default value for ordering option (/o) is /o:GN to group dirs first and then order by name of the files

2.) cssdir /$$bdrv$/:\
Lists files on the boot drive root dir

3.) cssdir /$bootDrvChgs$/
Use the user defined Symbolic macro from the cssdir.cfg file which lists the boot drive changes for today, this will find all files that have a lastWritten timeStamp of today (You can save all you entries as such for easy reinvocation) (Very powerful!)

4.) cssdir /$$bdrv$/:\*.cmd /Sch:LASTPOS /s /Lrrs0
Sift the whole boot drive for files that end with .cmd and keep only the ones that have the textstring 'LASTPOS' in them, also turn off dir subtotal summaries

5.) cssdir /Srd:TODAY
List only files that have a time with today's date, there may not be any such files

6.) cssdir /Srd:TODAY /od /Lft2
List only files that have a last updated time with today's date but order by date/time fields oldest to newest and show SECONDS portion of the time field There may not be any such files

7.) cssdir /Srd:TODAY /od /Lft2 c:\ /s /Lxpo:ax
List only files that have a last updated time with today's date merge all dirs on drive C together then order oldest to newest and show SECONDS portion of the time field There may not be any such files, YOU CAN NOT do with Dir!!

8.) cssdir /Srd:curweek /Lft2 /od
List only files that have a last updated time that occurs since Monday of this week, in the current dir and order oldest to newest and display time with seconds portion

9.) cssdir /Srd:curmonth /Lft2 /od
List only files that have a last updated time that occurs in the current month, in the current dir and order oldest to newest and display time with seconds portion

10) cssdir /$crc$/
Compute CRCs for all files in the current dir and list their CRCs

11) cssdir c:\ /s /$stat$/
Lists the summary statistics info of drive c,

12) cssdir /$dups$/ c:\ /s
List duplicates files on drive c

13) cssdir /$Ldi$/
List all (L)ocal (d)rives (i)nformation, which includes drive type (FAT, FAT32, HPFS, NTFS, etc), drive label, drive size, drive free size, and drive used space in a concise summary format.

14) cssdir /$Rdi$/
same as above but do it only for remote drives

15) cssdir /$di$/
same as above but do it on all drives (includes local and remote)

16) cssdir /$$LclDrvRoots$/ /Wc:*.c;*.h;*.cpp;*.hpp /s /Sch:"curtis systems software"
Search all local drives for files that match the wildcards: *.c, *.h, *.cpp, and *.hpp, traversing all subdirectories looking for the string "curtis systems software"

17) cssdir /$$LclDrvRoots$/ /Srd:2002-06 /s
List all the files on all local drives that have a lastWritten timeStamp that occurs in June of 2002.

Examples 18 and 19 show how EASY it is to snapShot a complete Drive

18) cssdir /$SnapShotList$/ c:\ /s > ssA
Take a snapshot of the complete C drive and save in file ssA

(Between examples 18 and 19 you could create a few new files or change attributes on a test file, or change the contents of a file on drive C, then run example 19. Then later when you run the examples 20 to 22 below, you will see what cssdir detects in /Sscm first hand)

19) cssdir /$SnapShotList$/ c:\ /s > ssB
Take a snapshot of the complete C drive and save in file ssB

Examples of detecting file changes between two snapShots Follow:

20) cssdir /Sscm /Sspf:ssA /Ssnf:ssB > ssDiff
Compare snapshots ssA to ssB and save default report of diffs to file ssDiff

21) cssdir /Sscm /Sspf:ssA /Ssnf:ssB /Lxut:A > ssNewFiles
same as above but list only new files if any

22) cssdir /Sscm /00 /Sspf:ssA /Ssnf:ssB /Lxut:A /Lxlo:f /Lff3 > ssNewFileNames
same as above but ONLY list full fileName of new files (if any) and save to file ssNewFileNames

******************************************************************************
  (C) Copyright 2003-04 Curtis Systems Software P.C. All rights reserved.
******************************************************************************