Make sure that you're using the correct path and file and folder name.
Check for invalid characters: Ensure that the directory name does not contain any special characters, such as ?
, *
, :
, <
, >
, "
, /
, \
, |
, or any non-alphanumeric characters. Also, avoid using reserved keywords or filenames like "CON," "PRN," "NUL," "COM," "LPT," etc.
Shorten the directory name: Windows has a maximum limit of 255 characters for the complete file path, including the directory names.
Change the USB port you've used for connecting your device.
If neither solution works, try formatting your device, but be sure to create a backup before formatting.