home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / dos_util / pck31.zip / 10NIFTY.DOC next >
Text File  |  1993-10-01  |  3KB  |  94 lines

  1.  
  2.  ------------ 10 Nifty things you can do with PocketD Plus ------------
  3.  
  4. These  are command-line examples. All of PocketD's features can also be
  5. accessed via the MENUD menu-driven interface.
  6.  
  7.  1. Use it instead of DOS's DIR for viewing your directories.
  8.  
  9.      Just  typing  "D" gives you  a sorted color double column  display
  10.      that  pauses when the screen is full. In addition to this you  can
  11.      add  your  own  configurable  color-coding of filenames  and  more
  12.      tailoring  and  display options  than any other directory  listing
  13.      program (as of Jun93). Add just one option and:
  14.  
  15.      D /Q      Turns  D into a  full scrolling browsing tool,  allowing
  16.            files   to   be   viewed  or  run,  and   archives   and
  17.            subdirectories to be entered. (/Qz allows file delete).
  18.  
  19.      D /?      Gives one help page, with information for accessing 107k
  20.            of on-line help.
  21.  
  22.  2. Use it to backup your disks
  23.  
  24.       D /WTccu A:
  25.  
  26.      would  search  the  (W)hole  drive for files modified  or  created
  27.      (T)oday  and  (c)opy them to  drive A:, providing that either  the
  28.      file  does not already exist on A: or is older. (PocketD  provides
  29.      23 copy sub-options).
  30.  
  31.  3. Look for hard-to-find files
  32.  
  33.       D *ASP* *BBS*93* /W!E'Shareware' /c
  34.  
  35.      would search the (W)hole drive for files with names containing the
  36.      string  "ASP" or "BBS" followed  later by "93", where the file  is
  37.      non-(E)xecutable  and contains  the string 'Shareware' inside  the
  38.      file.  Any files found can then be optionally viewed and/or copied
  39.      to  the current directory. You can make this search more  specific
  40.      by  adding  size  and  date  ranges and  multiple  include/exclude
  41.      filespecs.
  42.  
  43.  4. Create a BAT file that could re-build the subdirectory structure of
  44.     your hard disk
  45.  
  46.       D /WDu[md $w//] > RESTDIR.BAT
  47.  
  48.  5. Uncompress  each  ZIP file on  A: into its own subdirectory on  the
  49.     current drive.
  50.  
  51.       D a:*.ZIP [MD $n//PKUNZIP $w $n\]R
  52.  
  53.  6. Take a PROCOMM log file and rename it to give a unique name
  54.  
  55.       D PCPLUS.LOG LOG* [REN $f LOG$05F]RKv
  56.  
  57.     giving LOG00001 for the first, and LOG00002 for the next one etc..
  58.  
  59.  7. Search  for files in any  subdirectory or ZIP, ARC, PAK, LZH,  ZOO,
  60.     ARJ or SFX "self-uncompressing" archive
  61.  
  62.       D *.TXT *=D=D* /WZ
  63.  
  64.      would  search  the  current  drive  scanning  all  subdirectories,
  65.      including  any  archives found,  for any files with the  extension
  66.      .TXT  or a consecutive double  digit in its name (e.g.  DIET14.EXE
  67.      but not PRO1V2.COM).
  68.  
  69.  8. Analyse  your  hard disk  to  find out the relative sizes  of  each
  70.     subdirectory
  71.  
  72.       D /r%gss
  73.  
  74.      This  example  also gives  the relative percentage usage  of  each
  75.      subdirectory  and  plots a  bar-chart to show the relative  sizes,
  76.      sorting the output by subdirectory size.
  77.  
  78.  9. To remind you when you haven't backed-up your hard disk recently
  79.  
  80.       D BACK.TAG /!:-7 [You have not backed-up your disk since $d//]
  81.  
  82.      warning the user if 7 days have elapsed since the last backup. The
  83.      user can modify the date of BACK.TAG to the current date each time
  84.      a backup is completed.
  85.  
  86.  10. Ask   multi-option   questions  from  within   BAT   files   (e.g.
  87.      AUTOEXEC.BAT)
  88.  
  89.     D /Ywbd /'Choose (W)indows, (B)ackup hard disk or (D)os prompt ?'
  90.     IF ERRORLEVEL 3 GOTO DOS
  91.     IF ERRORLEVEL 2 GOTO BACKUP
  92.     IF ERRORLEVEL 1 GOTO WINDOWS
  93.  
  94.