Name   : SetVarCSD
Purpose: Create code variable CSD (currently selected directory)
Version: 1.2  (03-08-2003)
Status : Freeware
Author : Frank de Bruijn
E-mail : frank@aconet.org


SetVarCSD is a small utility for RISC OS 3 and later which creates a system
variable called CSD. When read, this variable produces a string made up of the
currently selected directory, preceded by the temporary filing system (e.g.
ADFS::HardDisc1.$).

If you type the lines:

  SetVarCSD
  SetMacro CLI$Prompt <CSD>~

at the command line (or put them in a boot file - e.g. PreDesktop) the current
value of the CSD will appear (with a trailing tilde) instead of the *-prompt
whenever you leave the Desktop or open a TaskWindow.
You can put other characters around the <CSD> bit if you want.

Be sure to put the utility SetVarCSD in a directory which is in the Run path
(e.g. a Library directory - look at the contents of Run$Path) or RISC OS won't
be able to find it. Of course, you could specify the full path when calling it,
but that's a bit more cumbersome...

What use is all this? Dunno, really. I just find it useful to be able to see
'where I am' whenever I bring up a TaskWindow.
