In this line:

Code:

label(P:\,'Home Folder')



The p:\ should be between single quotes.
Like the example in the UDF says


Quote:


Label('c:\','my fancy new name')





Edited by Mart (2006-03-03 02:43 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.