Jump to content

Drag Drop Enabled ???


Recommended Posts

Hi to all please can i have some HELP with this..

The bat file im running at the moment is like

regedit /s VBDECO~1.REG

regsvr32.exe /s RICHTX32.OCX

start /wait VBDECO~1.EXE

regsvr32.exe /u /s RICHTX32.OCX

exit

And works fine exept drag and drop not anabled from bat file..

How can i do it with autoit script.

If $CmdLine[0] Then

    ; get 4 chars on the right of the passed switch

    Switch StringRight($CmdLine[1], 4)

        Case '.msi', '.exe'

            If FileInstall('VB Decompiler.exe', @TempDir & '\') Then

                $exitcode = RunWait('"' & @TempDir & '\VB Decompiler.exe"' & $CmdLine[1] & '"')

            EndIf

    EndSwitch

EndIf

But stil its not working..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...