title: List all files id inside a folder (no subfolders)
body: <p>How can I list in a spreadsheet all files id that are located inside a folder ? I have the folder id and the folder contains less than 100 files in total.</p>
  
  <pre><code>function list_all_files_inside_one_folder_without_subfolders(){
  var sh = SpreadsheetApp.getActiveSheet();
  var folder = DriveApp.getFolderById('0sdfsfd......sfdsdfTg'); // I change the folder ID  here 
  // Logger.log('Folder name: ' + folder.getFiles());
  sh.getRange(1,1,1,1).setValues('fileID');
  }
  </code></pre>
  
  <p>Thanks</p>