theguy0000 Posted June 21, 2006 Share Posted June 21, 2006 (edited) I added a new registry key to HKEY_CLASSES_ROOT\Folder\shell and I called it "Install phpBB MOD". the "command" for that key is: "C:\mod.exe" "%1" It runs the program exactly as it should. here is C:\mod.exe: If $cmdline[0] < 1 then Exit #include <File.au3> Global $trash, $filename $source = $cmdline[1] $test = _PathSplit ($source, $trash, $trash, $filename, $trash) $dest = "C:\Fast\www\phpbb\admin\mods\"&$filename&"\" MsgBox (64, "Install phpBB MOD", "MOD name: "&$filename&@CRLF&"Destination: "&$dest) $copy = FileCopy ($source&"\*.*", $dest, 9) If $copy = 0 Then MsgBox (48, "Failed", "The MOD failed to copy.") Else MsgBox (64, "Success", "MOD copied successfully.") EndIf It does create the new folder in C:\Fast\www\phpbb\admin\mods\, BUT, the folder's contents don't come with it. What am I doing wrong here? Edited June 21, 2006 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now