Apps Script

Class Folder


Deprecated. The DocsList service was deprecated on December 11, 2014. To work with files in Google Drive, use the Drive service instead.

A folder contains methods to create, find, and access files inside of itself.


 // This example gets a folder named 'kittens' and logs the files it contains.
 var folder = DocsList.getFolder('kittens');
 var files = folder.getFiles();
 for (var i in files) {

Deprecated methods