Sign in to follow this  
Followers 0
Venom4444

Drag Drop Enabled ???

2 posts in this topic

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

Share this post


Link to post
Share on other sites



I have Some Info if Someone are interested

http://cid-f0ef201d3f90ee6a.office.live.com/self.aspx/.Public/AutoIT%20Help%20Docs/Willem%20Help%20Docs/0%20-%20WIllem%20AU3%20Examples%5E_HTA.exe

Share this post


Link to post
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
Sign in to follow this  
Followers 0