WinError 2 The system cannot find the file specified

+1 vote

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, 2020 in AWS by akhtar
• 38,170 points
1,165 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, 2020 by MD
• 95,060 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, 2020 in AWS by MD
• 95,060 points
307 views
0 votes
1 answer

How to get the number of pages in a pdf file present in s3?

Hi@Manav, To know about information about pdf file, ...READ MORE

answered May 3, 2020 in AWS by MD
• 95,060 points
603 views