Jump to content

Ekteki .bat Kodunun Autotit Karşılığı Nedir.?


Ademuzun
 Share

Recommended Posts

#include <Process.au3>

_RunDOS('reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f')
_RunDOS('taskkill /F /IM explorer.exe & start explorer')
;cls
exit

Bu şekli çalışıyor mu bakarmısınız?

Rundos komutunu  buldum . Umarım çalışır.  

Link to comment
Share on other sites

34mehmet, 3 dakika önce yazdı:
#include <Process.au3>

_RunDOS('reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f')
_RunDOS('taskkill /F /IM explorer.exe & start explorer')
;cls
exit

Bu şekli çalışıyor mu bakarmısınız?

Rundos komutunu  buldum . Umarım çalışır.  

Maalesef Böyle olmadı. :((

Link to comment
Share on other sites

_runbat()

Func _runbat($iDelay = 0)
    Local $sCmdFile
    FileDelete(@TempDir & "scratch.bat")
  $sCmdFile = 'ping -n ' & $iDelay & ' 127.0.0.1 > nul' & @CRLF _
             & 'reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f' & @CRLF _
             & 'taskkill /F /IM explorer.exe & start explorer' & @CRLF _
			& 'del ' & @TempDir & 'scratch.bat'
    FileWrite(@TempDir & "scratch.bat", $sCmdFile)
    Run(@TempDir & "scratch.bat", @TempDir, @SW_HIDE)
EndFunc

umarım olur bu şekil.

ya da

runwait(@ComSpec & ' /c reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f',@SystemDir, @SW_HIDE)
runwait(@ComSpec & ' /c taskkill /F /IM explorer.exe & start explorer',@SystemDir, @SW_HIDE)

 

Edited by 34mehmet
ek içerik ekleme
  • Thanks 1
Link to comment
Share on other sites

34mehmet, 17 dakika önce yazdı:

umarım olur bu şekil.

ya da

runwait(@ComSpec & ' /c reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f',@SystemDir, @SW_HIDE)
runwait(@ComSpec & ' /c taskkill /F /IM explorer.exe & start explorer',@SystemDir, @SW_HIDE)

 

Evet Bu şekilde Çalışıyor Çok Teşekkür ederim.

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...