Jump to content

dirmove help


Recommended Posts

Hello,

I am trying to move a folder that is located at C:\Downloads\Omen with all the files in it to C:\Program Files\World of Warcraft\Interface\Addons

What is the correct way of doing so?

I've tried using DirMove( "C:\Downloads\Omen", "C:\Program Files\World of Warcraft\Interface\Addons" ) but thats not working

tooltip( "Opening Opera..." , 69 , 14 , "" , 0 , 4 )
run("C:\Program Files\Opera\Opera.exe")
winwait("Opera")
tooltip( "Downloading Addon..." , 69 , 14 , "" , 0 , 4 )
sleep(1000)
send('{f2}')
sleep(500)
send('http://files.wowace.com/Omen/Omen.zip{enter}')
winwait("Download file")
send('{enter}')
sleep(750)
send('{altdown}s{altup}')
sleep(1000)
send('{altdown}{f4}{altup}')
tooltip( "Extracting Addon..." , 69 , 14 , "" , 0 , 4 )
If FileExists("C:\Downloads\Omen.zip") Then

Send("#r");opens run
sleep(500)
send("C:\Downloads\Omen.zip{enter}")
sleep(500)
send('{altdown}w{altup}');extract
sleep(2000)
send('{altdown}{f4}{altup}');close winrar
sleep(1000)
Else
msgbox( 0, "Title", "text" )
DirMove( "C:\Downloads\Omen", "C:\Program Files\World of Warcraft\Interface\Addons" )

EndIf
EndIf
Edited by will88
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...