function getFolderList() {
var folders = DriveApp.getFolders();
while (folders.hasNext()) {
var folder = folders.next();
var files = folder.getFiles();
Logger.log(folder.getName());
while(files.hasNext()){
var file = files.next();
Logger.log(file.getName());
}
}
}
function getFolderList() {
const folders = DriveApp.getFolders();
while (folders.hasNext()) {
let folder = folders.next();
folder = folder.getId()
if (folder != '123') {
const files = folder.getFiles();
Logger.log(folder.getName());
while (files.hasNext()) {
const file = files.next();
Logger.log(file.getName());
}
}
}
}