Jump to content
Sign in to follow this  
Noning_1

Minta "recomend" PC Auto Shutdown yg baik......

Recommended Posts

Nie nak tau kalo ada puteranian yang arif pasal perisian yang boleh auto "shutdown" pc secara setting....
P/S : dah cari kat search engine tapi rambang mata nak cari ::icon_eek::

Share this post


Link to post
Share on other sites
Ni kaki Leecher ke? ekekeke
Tak silap prog cam Bitcomet etc..dh sedia ade after leeching leh set PC shutdown watsoever kan?
tu klu btul la ko leecher..ekekeke

selain tu ikut TJ ckp tu..slamat ::icon_razz::

Share this post


Link to post
Share on other sites
hmm alang-alang dah buka thread ni, aku nk tny ckit...

aku pki software Avanced SystemCare (maintenance PC) dalam tu ade disediakan perkhidmatan AutoShutdown... Aku nk tny, klu aku rajin active AutoShutdown ni boleh rosak PC tak? sbb aku selalu main games lama juga, so aku nak hadkan masa main games la... aku pakai la AutoShutdown ni.. cuma nak tau, kalau rajin pakai, akan menyebabkan kerosakan PC tak.. (autoshutdown aku, bila tengah main, dia bagi warning 20 saat, pastu terus shutdown file yg tgh running)

Apa pendapat korang? ::icon_biggrin::

Share this post


Link to post
Share on other sites
Dulu-dulu Bro TJ ada bagi perisian yang dicipta oleh beliau..
Namanya Autoshutdown..guna VB..
Software tu boleh backup dan shutdown sekali..
Tapi tak ingat kat mana dia letak..
Mungkin di forum PDC yang lama boleh dirujuk..::icon_smile::

Share this post


Link to post
Share on other sites
hairulfadly wrote:Dulu-dulu Bro TJ ada bagi perisian yang dicipta oleh beliau..
Namanya Autoshutdown..guna VB..
Software tu boleh backup dan shutdown sekali..
Tapi tak ingat kat mana dia letak..
Mungkin di forum PDC yang lama boleh dirujuk..::icon_smile::


tp forum lama dh BOOM(ntah la knp forum lama jd cm tu?)

Share this post


Link to post
Share on other sites
tips yg Abg Don bagi tu ok gak cuma agak leceh skit nak congak-kira dlm kiraan saat, dlm kiraan minit atau jam tiada lak.... ::icon_sad:: apa-apa pun terima kasih Abg Don ::fresse::

Share this post


Link to post
Share on other sites
syafsp wrote:
TJ-Ariff wrote:Boleh aje, tidak menjadi masalah.

maksud TJ-Ariff boleh aje tu.. untuk aku ke?


Ya Khas untuk ko saja... he he ::icon_lol::

Share this post


Link to post
Share on other sites
hairulfadly wrote:Dulu-dulu Bro TJ ada bagi perisian yang dicipta oleh beliau..
Namanya Autoshutdown..guna VB..
Software tu boleh backup dan shutdown sekali..
Tapi tak ingat kat mana dia letak..
Mungkin di forum PDC yang lama boleh dirujuk..::icon_smile::


huhu.. ingat ko lagi tentang sofware tu ya...
nanti la bila senang2 nanti aku, bagi korang download software tu... ::icon_cool::

Share this post


Link to post
Share on other sites
Salam Bro TJ dan Puteranian sekalian..

Nak tanya..
Kalau kita nak shutdown PC kita taipkan start-run lepas tu masukkan
Perkataan ni shutdown.exe –s –t 1800

Persoalannya:
Tahu tak command untuk tulis arahan tambahan untuk shutdown.exe –s –t 1800 tu dalam .bat file
Saya dah buka notepad..
Saya dah cuba tulis shutdown.exe –s –t 1800 tu dalam notepad..
Dan save sebagai shutdown.bat
Tapi bila klik 2 kali kat ikon shutdown.bat tu, tak jadi ape2..

So.. macam mana arahan tambahan tu?
Saya nak letak ikon shutdown.bat tu kat desktop.
Kira senang kalau sy nak tutup PC berdasarkan tempoh masa..
Saya hanya klik 2 kali pada shutdown.bat tu..
Terus dia run dan active..

Jadi, macam mana yek?

Share this post


Link to post
Share on other sites

Saya dah cuba tulis shutdown.exe –s –t 1800 tu dalam notepad..
Dan save sebagai shutdown.bat


Satu kesilapan ialah yg diboldkan tu..
ko tak boleh menamakan batch file sama dengan command file.
Jadi langkah pertama, rename batch files tu kepada OFF.BAT atau SDOWN.BAT atau apa apa asalkan tidak dengan nama SHUTDOWN.

Kedua arahan -t tu.. lama sangat.. 1800

ketiga, cuba code nie.. ::icon_wink::

Code:

@echo off
cls
shutdown -s -f -t 01


Selamat mencuba.
Wassalam..

Share this post


Link to post
Share on other sites
Oh..tak boleh namakan fail tu sebagai shutdown.bat yer?
Kenapa yek Bro TJ?
Adakah shutdown.bat tu salah satu perkataan "reserve" bagi Windows?


@echo off
cls
shutdown -s -f -t 01


Saya dah cuba code di atas dan ia membuahkan hasil.
Lagi satu apa maksud -s -f -t kat code tersebut?
Ada makna ker?
Apakah maknanya?

Maaf banyak tanya..
Terima kasih kerana membantu... ::icon_smile::

Share this post


Link to post
Share on other sites
Ops..
Ada lagi sy nak tanya..

Macam mana kita nak masukkan command?
Macam ni..

Are sure want to off pc?
Y (Yes)
N (No)

Lepas tu kalau kita taip Y
Dia akan prompt satu lagi isyarat:

How long do you want set the time to off PC?
10
So kita boleh tulis nilai saat tu (nilai keyin data untuk pc off)

Jadi macam mana Bro Tj Ariff?

Tapi kalau dah larikan program .bat tu untuk off pc 10 saat tu..
Lepas tu kalau kita runkan lagi untuk 20 saat..
Dia akan ikut yang mana satu yek untuk OFF PC?

Share this post


Link to post
Share on other sites
Adeh... banyak nya tanya... huhu ::icon_razz::

maksud -s -f -t ? -s = shutdown , -f = Force (force all application to close) , -t = time.
atau boleh cari sendiri dengan menaip shutdown pada command promt.

untuk soalan kedua, kalau nak ada soal jawab macam tu, lebih baik ko buat dalam VB atau bahasa penggatucaraan yg lain.

kalau dulu dalam win98 dan winme memang ada command choice ,
tapi dalam xp nie dah tak ada..

tapi ko masih boleh guna command tersebut didalam xp. atau ko boleh gunakan external command seperti ask.exe
dan ko kena gabungkan beberapa arahan seperti if , errorlevel , goto dalam satu batch.

Share this post


Link to post
Share on other sites
Ok..nanti sy cuba buat coding tu..
Kalau ada masalah sy beritahu..
TQ..

Share this post


Link to post
Share on other sites
Ni contoh pkai batch:
Code:
@ECHO OFF
title shutItdown ^<^<[email protected]^>^>
color e
:menu
cls
echo.
echo                                Pilihan Menu:
echo.
echo                    1. Shutdown
echo                    2. Restart
echo                    3. Logoff
echo.
echo                    e. Keluar dari aplikasi ini
echo.
set /p Choice=                    Pilih 1,2,3 atau e dan tekan enter:
if [%Choice%]==[1] goto shut
if [%Choice%]==[2] goto re
if [%Choice%]==[3] goto log
if [%Choice%]==[e] goto End
if [%Choice%]==[E] goto End
For %%a in (1,2,3,e,E) do if not [%Choice%]==[%%a] goto error
echo.
echo.

:shut
cls
echo.
echo   Adakah anda pasti untuk shutdown PC ini?
set /p Choice=(y/n):
if [%Choice%]==[y] goto down
if [%Choice%]==[Y] goto down
if [%Choice%]==[n] goto menu
if [%Choice%]==[N] goto menu

:down
set /p time=Sila masukkan masa sebelum PC di shutdown:
echo PC akan dishutdown dalam masa %time%
shutdown -s -f -t %time%
pause
exit

:re
cls
echo.
echo   Adakah anda pasti untuk restart PC ini?
set /p Choice=(y/n):
if [%Choice%]==[y] goto start
if [%Choice%]==[Y] goto start
if [%Choice%]==[n] goto menu
if [%Choice%]==[N] goto menu

:start
set /p time=Sila masukkan masa sebelum PC di restart:
echo PC akan direstart dalam masa %time%
shutdown -r -f -t %time%
pause
exit

:log
cls
echo.
echo   Adakah anda pasti untuk logoff dari account anda?
set /p Choice=(y/n):
if [%Choice%]==[y] goto off
if [%Choice%]==[Y] goto off
if [%Choice%]==[n] goto menu
if [%Choice%]==[N] goto menu

:off
shutdown -l -f
exit

:error
cls
echo.
echo Anda telah menekan kekunci yang salah.
pause
goto Menu

:End
exit


Kenapa nak pkai batch?

Share this post


Link to post
Share on other sites
Wahh.. terima kasih JohnBurn..

Kenapa nak pkai batch?


Saja nak main2 dengan batch prog ni..hehe..
Nampak menarik..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...