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 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: