The $cd identifier contains the current directory/folder a user is viewing within an /fserve.
This example will send the user the current folder they are in if they type !folder:
Added: mIRC v4.0
Added on: 03/20/1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.