要将文件夹从USB复制到系统 [英] To copy a folder from USB to system

查看:56
本文介绍了要将文件夹从USB复制到系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai All


我要复制单击驱动器时USB导出中的文件夹或文件,然后安全删除.请通过c#帮助我.

Hai All


I want to copy the folder or files which are in USB derive when the drive is clicked safe remove . please help me through c#.

推荐答案

您可以使用代码
You can detect if a USB has been removed using code here[^].

Everytime you detect a removal, copy all files from the USB before it is completely removed.


这篇关于要将文件夹从USB复制到系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆