Garry's Mod Wiki

DFileBrowser:SetBaseFolder

  DFileBrowser:SetBaseFolder( string baseDir )

Description

Sets the root directory/folder of the file tree.

This needs to be set for the file tree to be displayed.

Arguments

1 string baseDir
The path to the folder to use as the root.