[固定]连接USB驱动器时如何自动复制文件? - Minitool
How to auto copy USB files silently without notifications on Windows 10/11? If you need to do that, this post from MiniTool Website will help you automatically copy files when USB files connected in detail. Without wasting more time, let’s jump into it right now!
Some of you are looking for a way to copy the files automatically when USB drive plugged in your computer. Don’t worry, this idea seems difficult to realize but we still find a solution for you.
How to Automatically Copy File When USB Drive Connected toYour PC?
To automatically copy file when USB drive connected to your PC, you need to automatically back up files with autorun.inf and .bat file. Here’s how to do it:
Step 1. Create a notepad on your USB flash drive > copy & paste the following content to it and click on File > Save As > change the file name to Autorun.inf > set file type to all files.
[autorun]
icon=drive.ico
open=launch.bat
action=Click ok to Run game for Windows
shell\open\command=launch.bat
Step 2. Create a notepad file with the following contents on your USB flash dive> click on File > Save As > rename it to file.bat > change file type to all types. You can replace picture, videos, Favorites according to your needs.
@echo off
:: variables
/min
SET odrive=%odrive:~0,2%
set backupcmd=xcopy /s /c /d /e /h /i /r /y
echo off
%backupcmd% “%USERPROFILE%\pictures” “%drive%\all\My pics”
%backupcmd% “%USERPROFILE%\Favorites” “%drive%\all\Favorites”
%backupcmd% “%USERPROFILE%\videos” “%drive%\all\vids”
@echo off
cls
Step 3. Similarly, you can create a notepad file on USB drive named invisible.vbs with the following content. This operation is to create a VB Script to batch file as invisible.
CreateObject(“Wscript.Shell”).Run “””” & WScript.Arguments(0) & “”””, 0, False
Step 4. To make a batch file for running VB Script and file.bat, you need to create a notepad file named launch.bat with the following content:
wscript.exe \invisible.vbs file.bat
Step 5. At last, create a folder in the root of USB flash drive named all. Save all the files in the folder and make it hidden. Click on file.bat to test if the batch file works for automatically copy files when USB drive connected to your PC.
Suggestion: Back up Your Files Regularly with MiniTool ShadowMaker
After knowing how to make a USB drive copy files automatically, we recommend an easier way to create an automatic backup – backing up with MiniTool ShadowMaker. This Windows backup software is designed to back up files, folders, partitions, systems, and disks on Windows machines. With it, you can set to back up your task daily, weekly, monthly, or on event. Here’s how to create an automatic backup with ease:
Step 1. Launch MiniTool ShadowMaker to get a 30-day free trial.
Step 2. In the Backup page, choose the file you want to make a copy by hitting SOURCE > Folders and Files. In DESTINATION, select a storage path for your backup task.
Step 3. Click on Back Up Now to start the process or delay the task by hitting Back Up Later. Go to Options > toggle on Schedule Settings manually > set a specific point of a day (s) in a day, week, or month.
Final Words
This post illustrates how to automatically copy files when USB drive connected to your PC via bache file and another easy way to back up your data on a regularly basis. Sincerely they are helpful to you. Appreciate your time!
以上是[固定]连接USB驱动器时如何自动复制文件? - Minitool的详细内容。更多信息请关注PHP中文网其他相关文章!

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

Video Face Swap
使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

蒸汽云错误可能是由于许多原因引起的。要顺利玩游戏,您需要采取一些措施来删除此错误,然后才能启动游戏。 PHP.CN软件在这篇文章中介绍了一些最佳方法以及更多有用的信息。

您可能会看到“无法建立与Windows Metadata和Internet Services(WMI)的连接”。事件查看器的错误。 PHP.CN的这篇文章介绍了如何删除Windows元数据和Internet服务问题。

KB5035942更新问题 - 用户通常发生崩溃系统。受到的人们希望找到摆脱困境的出路,例如崩溃系统,安装或声音问题。针对这些情况,这篇文章由Php.cn Wil发表

OneDrive是Microsoft的在线云存储服务。有时,您可能会发现OneDrive无法将照片上传到云。如果您在同一条船上,请继续阅读PHP.CN软件的帖子,以获取有效的解决方案!

如果您在计算机上有一个名为PC App Store的程序,并且没有故意安装它,则可能会感染恶意软件。 PHP.CN的这篇文章介绍了如何删除PC App Store恶意软件。

兄弟是:两个儿子重制的故事没有发起吗?遇到兄弟:两个儿子重制黑屏的故事?在这里,有关PHP.CN的这篇文章为您提供了测试的解决方案,以帮助您解决此问题。

许多Surfacebook用户报告说,他们符合Windows 11/10上的“由EW_USBCCGPFILTER.SYS阻止的核心隔离”问题。 PHP.CN的这篇文章有助于解决烦人的问题。继续阅读。

ExplorerPatcher是一种开源可行可执行文件,可让您自定义Windows 11开始菜单,任务栏,文件资源管理器等。但是,许多用户会收到有关HackTool的Trojan警告:Win64/ExplorerPatcher!MTB。为什么会发生
