MAKINCI Posted October 7, 2012 Share Posted October 7, 2012 [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] Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted October 7, 2012 Editor Share Posted October 7, 2012 shutdown -s -t 0 bu şekilde bir denermisin. Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted October 7, 2012 Author Share Posted October 7, 2012 [quote name='pairs' timestamp='1349640285' post='1246306'] shutdown -s -t 0 bu şekilde bir denermisin. [/quote] [b]Böyle direk kapatıyor bilgisayarı, bana yeniden başlatması lazım pairs...[/b] Quote Link to comment Share on other sites More sharing options...
dexintr Posted October 7, 2012 Share Posted October 7, 2012 (edited) [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 October 7, 2012 by dexintr Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted October 7, 2012 Author Share Posted October 7, 2012 (edited) [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 October 7, 2012 by MAKINCI Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted October 7, 2012 Share Posted October 7, 2012 [indent=1]autoit help dosyasında var autoit ile yapmayı düşünmüyormusun.[/indent] [indent=1]illede bat mı?[/indent] Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted October 7, 2012 Author Share Posted October 7, 2012 [b]Daha iyi olur hocam, zaten bana projede lazımdı hemen bakıyorum...[/b] Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted October 7, 2012 Share Posted October 7, 2012 (edited) 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 October 7, 2012 by mesale0077 Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted October 7, 2012 Author Share Posted October 7, 2012 [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] Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted October 7, 2012 Share Posted October 7, 2012 autoit kodu [CODE] Shutdown(2) [/CODE] Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 8, 2012 Share Posted October 8, 2012 [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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.