Share this page

# TC.outputDir

Returns the user output folder that contains all output for the script.

    TC.outputDir();

## Arguments

None

## Return value

A promise that is fulfilled with a string upon success. For VuGen, the output folder and script folder returned by TC.scriptDir are the same. For Controller, they are different. The returned path includes the last folder separator.

## Example

Copy code

    (async ()=>{
        let outDir = await TC.outputDir();
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: