Question on USEDDISKSPACE

I have a questtion about the USEDDISKSPACE command

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s $ARG1$ -v USEDDISKSPACE -l c -w 90 -c 95

I understand that this command will check the disk space of C: drive.
Is it possible to check the disk space of a given directory?

IE:
D:\Program Files\Microsoft SQL Server\MSSQL.1\Data

I’m sorry, but I’m not familiar with this check. Could you include a link to the check or the source here?