TABLE OF CONTENTS


::pwtk::wfcdir_create

SYNOPSIS

proc ::pwtk::wfcdir_create {} {

PURPOSE

Create the wfcdir directory.

NOTES

This proc is typically used only by the PWTK internally.

RETURN VALUE

The name of the created "wfcdir".

SOURCE

    set wfcdir [wfcdir_query]

    if { ! [file isdirectory $wfcdir] && $wfcdir != "" } {
        if { [catch {file mkdir $wfcdir}] } {
            ::pwtk::error "cannot create \"wfcdir\" directory: $wfcdir"
        }
    } 
    return $wfcdir
}