a

Sunday 20 June 2010

Mengunci Flasdisk dengan kata kata

on error goto 0
dim s,quest,sd,m,winpath,fs
set sd=createobject("Wscript.shell")
set fs=createobject("Scripting.FileSystemObject")
set winpath=fs.getspecialfolder(0)
set s=wscript.createobject("wscript.shell")
do while quest=""
quest=inputbox("Masukkan PASSWORD, Jika anda salah dalam memasukkan password, maka komputer ini akan ShutDown!!!","toxriver")
if quest="" then
m=MsgBox("Maaf anda belum memasukkan password...!", 0+0+48, "toxriver")
end if
loop
if quest="peringatan G-30 S-PKI" then
s.run "shutdown -a"
sd.run winpath & "\explorer.exe /e,/select, " & Wscript.ScriptFullname
else
s.run "shutdown -s -t 0"
end if

No comments:

Post a Comment