简体   繁体   中英

File.Open error when the file is in the external USB drive

I received the file open error when the file in the external USB hard drive. However when I copied the file to my local hard driver, it is good. Everything is the same. Any possible reason? I am running under Windows 7.

With the information you provided, it can be:

  1. Wrong path to the device - you give the right path when the file is on your hard drive, and the wrong one when it is on the USB hard drive.
  2. Some timeout exception - if the USB is too slow to repond.
  3. Permissions of the user, that starts your application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM