如何在 powershell 中列出 onedrive 文件夹?
How do I list onedrive folder in powershell?
我有一个 onedrive 文件夹映射到我电脑上的文件夹。
假设我在 powershell 中的这条路径:“C:\Users\bob\OneDrive\MyContainer”
我输入以下 powershell 命令:
ls "C:\Users\bob\OneDrive\MyContainer"
返回的错误信息如下:
Get-ChildItem: Cannot find drive. A drive with the name 'C' does not exist.
为什么 onedrive 无法与 powershell 一起使用?
你似乎在 ls 和第一个 ".
之间有一个不可见的字符
我有一个 onedrive 文件夹映射到我电脑上的文件夹。
假设我在 powershell 中的这条路径:“C:\Users\bob\OneDrive\MyContainer”
我输入以下 powershell 命令:
ls "C:\Users\bob\OneDrive\MyContainer"
返回的错误信息如下:
Get-ChildItem: Cannot find drive. A drive with the name 'C' does not exist.
为什么 onedrive 无法与 powershell 一起使用?
你似乎在 ls 和第一个 ".
之间有一个不可见的字符