Jump to content

Yeniden Başlat Komutu Nedir?


MAKINCI
 Share

Recommended Posts

[b]Selamın Aleyküm[/b]

[b]Arkadaşlar ben bir cmd dosyası oluşturmak istiyorum ve bu bat dosyasına tıkladığım zaman hiç beklemeden [/b]
[b]sistemi yeniden başlatacak,[/b]
[b]bende bir tane [color=#ff0000]shutdown /r.cmd[/color] bunu biliyorum fakat buda bir dakikadan kısa bir sürede diyor, [/b]
[b]yani bana direk yeniden başlatacak bir komut lazım , teşekkür ederim...[/b]

[b][img]http://img231.imageshack.us/img231/7210/sshot1jn.png[/img][/b]

[b][color=#ff0000]#[/color]Resimdeki uyarıyı vermeden direk yeniden başlatacak...[/b]
Link to comment
Share on other sites

[url="http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/"]http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/[/url]
[indent=1]
[color=#333333][font=Verdana][size=4]Shutdown.exe -r -t 00[/size][/font][/color][/indent]

Edited by dexintr
Link to comment
Share on other sites

[quote name='dexintr' timestamp='1349642536' post='1246308']
[url="http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/"][url][url]http://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/[/url][/url][/url]

[indent=1]
[color=#333333][font=Verdana]Shutdown.exe -r -t 00[/font][/color][/indent]
[/quote]

[b]Eyvallah budur hocam, linkte vista ve 7 diyor ama xp'de de sorunsuz yeniden başlatıyor... [/b] [img]http://www.tnctr.com//public/style_emoticons/default/good.gif[/img]

Edited by MAKINCI
Link to comment
Share on other sites

neden yeniden başlayacak
yeniden başlıyormuş gibi yapsan olmuyormu
[b][size=4][color=green]SimpsoN_Bart[/color][/size][/b] ait _Update_Explorer() fonksiyonunu kullansan

[CODE]
_Update_Explorer() bunu işleminiz nerde resetlemek istiyorsan bunu kullanabilirsiniz

Func _Update_Explorer($CLASS = "[CLASS:SHELLDLL_DefView]")
Local $bOld = Opt("WinSearchChildren", True)
Local $a = WinList($CLASS)
For $I = 0 To UBound($a) - 1
DllCall("user32.dll", "long", "SendMessage", "hwnd", $a[$I][1], "int", 0x111, "int", 28931, "int", 0)
Next
Opt("WinSearchChildren", $bOld)
EndFunc ;==>_Update_Explorer
[/CODE]
illa reset diyorsan
autoit kodu
[CODE]
Shutdown(2)
[/CODE]

Edited by mesale0077
Link to comment
Share on other sites

[quote name='mesale0077' timestamp='1349645617' post='1246322']
neden yeniden başlayacak
yeniden başlıyormuş gibi yapsan olmuyormu
[url="http://www.tnctr.com/user/324139-simpson-bart/"][color=green]SimpsoN_Bart[/color][/url] ait _Update_Explorer() fonksiyonunu kullansan

[CODE]
_Update_Explorer() bunu işleminiz nerde resetlemek istiyorsan bunu kullanabilirsiniz

Func _Update_Explorer($CLASS = "[CLASS:SHELLDLL_DefView]")
Local $bOld = Opt("WinSearchChildren", True)
Local $a = WinList($CLASS)
For $I = 0 To UBound($a) - 1
DllCall("user32.dll", "long", "SendMessage", "hwnd", $a[$I][1], "int", 0x111, "int", 28931, "int", 0)
Next
Opt("WinSearchChildren", $bOld)
EndFunc ;==>_Update_Explorer
[/CODE]
[/quote]

[b]Hocam sağolun deneyeceğim bu kodlarıda, bence sistemin normal şekilde başlaması lazım çünkü sistemde bayağı değişiklik yapılacak...[/b]

Link to comment
Share on other sites

[color=#000000][b]
Bu konu "[/b][/color][color=#ff0000][b]Sohbet-Chat[/b][/color][color=#000000][b]" forumundan "[/b][/color][color=#ff0000][b]Yazılım[/b][/color][color=#000000][b]" forumuna taşınmıştır. [/b][/color]

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...