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中文网其他相关文章!

了解有关Hidester VPN和Hidester代理的了解,然后下载用于Windows,Mac,Android和iOS的Hidester VPN,用于使用此VPN服务来毫无局限性地查看网站。有关更多有用的免费计算机工具和故障排除提示,您可以访问PHP.CN SOFTWA
![Windows键盘打开快捷方式而不是输入[固定]](https://img.php.cn/upload/article/001/242/473/174525409770635.png?x-oss-process=image/resize,p_40)
您是否曾经遇到过“ Windows键盘打开快捷方式而不是打字”的麻烦?在PHP.CN的这篇文章中,您将学习如何解决此问题。

在这篇文章中,PHP.CN软件将介绍哪些控制面板以及如何将控制面板图标添加到Windows 10或Windows 11计算机上的桌面。您还可以学习有关桌面图标设置的一些相关信息。

如果您在PC上播放Granblue Fantasy:Relink,您可能会想知道可以在哪里找到其保存文件。在这篇文章中,PHP.CN介绍了您想知道的所有内容 - GranBlue Fantasy Relink保存文件位置以及如何备份此游戏的保存游戏。

活动查看器跟踪活动以进行更好的管理。但是,如果达到安全日志的上限,则无法记录更多事件。在PHP.CN网站上的这篇文章中,我们将向您展示如何处理事件ID 1104安全日志

Secure Boot是一个安全标准,可以防止您的计算机使用不信任的软件启动。启用它将为您的设备添加额外的安全层。在PHP.CN网站的这篇文章中,我们将向您展示如何启用安全启动O

即将在新的一年中,Windows 11用户期待的不仅是补丁更新,而且是Windows 11的年度主要更新。这篇文章将讨论Windows 11 23H2发布日期。另外,如果要恢复已删除

您可以完全禁用Bixby吗?如何在三星手机上关闭Bixby?禁用此语音助手并不难。在PHP.CN的这篇文章中,我们将竭尽全力帮助您找到该方法。此外,一种关闭“嗨,bixby”的方法也是


热AI工具

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

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

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

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

热门文章

热工具

Atom编辑器mac版下载
最流行的的开源编辑器

SublimeText3 英文版
推荐:为Win版本,支持代码提示!

mPDF
mPDF是一个PHP库,可以从UTF-8编码的HTML生成PDF文件。原作者Ian Back编写mPDF以从他的网站上“即时”输出PDF文件,并处理不同的语言。与原始脚本如HTML2FPDF相比,它的速度较慢,并且在使用Unicode字体时生成的文件较大,但支持CSS样式等,并进行了大量增强。支持几乎所有语言,包括RTL(阿拉伯语和希伯来语)和CJK(中日韩)。支持嵌套的块级元素(如P、DIV),

DVWA
Damn Vulnerable Web App (DVWA) 是一个PHP/MySQL的Web应用程序,非常容易受到攻击。它的主要目标是成为安全专业人员在合法环境中测试自己的技能和工具的辅助工具,帮助Web开发人员更好地理解保护Web应用程序的过程,并帮助教师/学生在课堂环境中教授/学习Web应用程序安全。DVWA的目标是通过简单直接的界面练习一些最常见的Web漏洞,难度各不相同。请注意,该软件中

MinGW - 适用于 Windows 的极简 GNU
这个项目正在迁移到osdn.net/projects/mingw的过程中,你可以继续在那里关注我们。MinGW:GNU编译器集合(GCC)的本地Windows移植版本,可自由分发的导入库和用于构建本地Windows应用程序的头文件;包括对MSVC运行时的扩展,以支持C99功能。MinGW的所有软件都可以在64位Windows平台上运行。