04.12.2016, 21:00   #507
Lexx09
 
: 18.04.2009
:
: 23, 93
:
: 871
Lexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant futureLexx09 has a brilliant future

seriousstas, RunExplorer.au3:
PHP :
#NoTrayIcon

#include <MsgBoxConstants.au3>

If (@OSArch "X86"Then
    $sKey 
"HKLM"
Else
    
$sKey "HKLM64"
EndIf

$sKey &= "\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

If (Not ProcessExists("explorer.exe")) Then

    $sShell 
RegRead($sKey"Shell")

    
RegWrite($sKey"Shell""REG_SZ""explorer.exe")
    If (@
errorThen
        MsgBox
($MB_ICONERROR"RunExplorer""   , : " & @error)
    EndIf

    
Sleep(500)
    
Run(@WindowsDir "\explorer.exe")

    
Sleep(3000)

    
RegWrite($sKey"Shell""REG_SZ"$sShell)

EndIf 
__________________

ASRock B75M-ITX, Intel Pentium G640T Sandy Bridge 2x2.4GHz, DDR3 2x2Gb, SSD SmartBuy Ignition 64GB SATAIII, Win7 Ultimate x86, M2-ITX rev.2F, GPS VK-172 10Hz, Logitech Wireless Touch Keyboard K400r, - Prology RCD-350, -...
Lexx09