繁体   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