[WinError 2] The system cannot find the file specified

0 votes

Hi Guys,

I am trying to describe all the AWS instances from cli. But I am getting this below error.

C:\Users\Nadeem Akhter>aws ec2 describe-instances
[WinError 2] The system cannot find the file specified

How can I solve this error?

Jun 1 in AWS by akhtar
• 14,590 points
85 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error, if you did not set the path for AWS CLI. So go to your environment variable set path for your AWS CLI.

answered Jun 1 by MD
• 32,730 points

Related Questions In AWS

+1 vote
2 answers
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

"access denied" error when trying to move a file into the AWS server.

Hi@akhtar, I think you are trying to transfer file to ...READ MORE

answered Apr 2 in AWS by MD
• 32,730 points
178 views
0 votes
1 answer