G Drive,文件的递归列表,以MyDrive开头
G Drive, recursive list of documents, starting with MyDrive
我有一个脚本 运行 在 google sheet 下,用于递归列出 MyDrive 文件夹中的文档。工作正常。关键变量是起始文件夹的 url。但是,我无法将它作为“顶级”文件夹与 MyDrive 一起使用。 MyDrive 没有与 MyDRive 下的文件夹相同类型的文件夹 ID,例如1PVDFLJnUwm_4PhVzZRE6TA2XYr7K8f9H(伪造的)。
MyDrive 的“url”就是这样的:
https://drive.google.com/drive/u/0/my-drive
“我的驱动器”不能用作起始文件夹的关键变量。
以 MyDrive 作为“顶级”文件夹开始递归的正确 url 是什么?
Gets the folder at the root of the user's Drive.
我有一个脚本 运行 在 google sheet 下,用于递归列出 MyDrive 文件夹中的文档。工作正常。关键变量是起始文件夹的 url。但是,我无法将它作为“顶级”文件夹与 MyDrive 一起使用。 MyDrive 没有与 MyDRive 下的文件夹相同类型的文件夹 ID,例如1PVDFLJnUwm_4PhVzZRE6TA2XYr7K8f9H(伪造的)。
MyDrive 的“url”就是这样的: https://drive.google.com/drive/u/0/my-drive “我的驱动器”不能用作起始文件夹的关键变量。
以 MyDrive 作为“顶级”文件夹开始递归的正确 url 是什么?
Gets the folder at the root of the user's Drive.