如何创建 .aws 文件夹?

DDJ*_*DDJ 8 windows-10

它在此 AWS 自述文件中特别说明要创建 .aws 文件夹,并且存在其他此类文件夹 (.ext),但 Windows 说“您必须键入文件名”才能尝试创建这样的文件夹并获胜不让你

我可能读错了,如果我读错了,请纠正我。\ 令人困惑,我习惯于在注释代码中看到这一点,而不是在实际的文件夹中。

You need to set up your AWS security credentials before the sample code is able
to connect to AWS. You can do this by creating a file named "credentials" at ~/.aws/ 
(C:\Users\USER_NAME\\.aws\ for Windows users) and saving the following lines in the file:

[default]
aws_access_key_id = <your access key id>
aws_secret_access_key = <your secret key>
Run Code Online (Sandbox Code Playgroud)

小智 25

文件前的普通 DOT 表示隐藏文件或文件夹(在 Linux 和 OSX 中)。

如果您想创建一个带有 DOT 的文件夹名称,例如“.aws”,那么在命名文件夹时也请在末尾使用一个点“ .aws. ”。windows 将自动删除末尾的点并将文件夹名称保留为“.aws”