簡體   English   中英

Windows 10:aws 在 powershell 但不是在 cmd 中工作?

[英]Windows 10: aws working in powershell but not cmd?

嗨,我在 windows 10 上並嘗試運行基本的 aws 命令。

aws s3 ls target --profile user1

我已經配置了這個配置文件,我可以在目錄中看到它。 當我在 powershell 但不是 cmd 時,這有效。 在 cmd 我得到這個

The config profile (user1;) could not be found

有什么我可以做的嗎? 謝謝。

您必須先配置配置文件。

例子:

aws configure --profile user1

這是一個可以提供幫助的鏈接: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-profiles

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM