The system cannot find the drive specified

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When I want to create c++ project from Arduino sketch, it was prompted:

"The system cannot find the drive specified"

 

anyone here has met this problem?

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


You haven't supplied the Sketch File location ?

 

EDIT

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Thu. Jul 16, 2020 - 12:04 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I mean when I click the button in the right side of "sketch file", this prompt would be there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

that's the button to browse for a sketch.

 

So, presumably, its default for where to start browsing has gone wrong.

 

Have you successfully imported a "sketch" before?

 

If so, was it from a removable drive - which is no longer present?

 

What happens if you just enter the path direct into the box - eg, copy & paste from the Windows explorer ... ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Like Andy says just type in some known location like "C:\" into the text box before you try [...] and it should start there.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I copied address into it, then:

The path doesn't exist, or you have not permission to acess it.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe you need to run as Administrator?

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

calwson:

 

I noticed your logo gif, how about the work flow ?

Do you have a tutorial about it ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

MianQi wrote:
I copied address into it

That box is expecting a full file specification - ie, the full path and file name - does it work if you give it that?

 

MianQi wrote:

 

So that seems pretty clear!

 

So do you have permission to access that location?

 

Is it a network drive?

 

Can you open the "sketch" in, eg, Notepad?

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

What is G: ?

Could it be readonly ?

 

Here's a test: Copy ArduinoSketch7 folder onto your desktop and attempt to open from there.