Command Prompt for Windows




setdesc, _wsetdesc, _tsetdesc

int setdesc(char *path, char *str);
int _wsetdesc(wchar_t *path, wchar_t *str);
int _tsetdesc(TCHAR *path, TCHAR *str);

char *str/* character string */

Set a file description for the specified file.

Parameter Description
path Address of a NULL terminated character string containing the full path of the file to describe.
str Address of a NULL terminated character string containing the file description. The description can contain a maximum of 60 characters.

Returns

On success a value of zero is returned. On error -1 is returned.

See Also

getdesc, deldesc