NELyon Posted March 24, 2007 Share Posted March 24, 2007 (edited) This is a small script i use to update my website after i reformatted. It takes the cmdline file and copies it to the Abyss Web Server htdocs directory. What i do is i keep a compiled version in the "Sendto" folder so i can easily copy all files to my server. expandcollapse popup#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.2.0 Author: Codemyster/D-Generation X/Senton-Bomb WOW i have alot of names... Script Function: Sends any file to the Abyss Web Server htdocs directory Requires: Abyss Web Server #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here If $CmdLine[0] = "" Then InvalidParam() Else For $i = 1 to $CmdLine[0] FileCopy($CmdLine[$i], _AbyssGetDir() & "\htdocs\") Next EndIf Func _AbyssGetDir() local $installdir $Installdir = RegRead("HKEY_CURRENT_USER\Software\AbyssWebServer", "Install_Dir") Return $InstallDir EndFunc Func InvalidParam() If not $CmdLine[0] = "" Then Return -1 Else MsgBox(0, "Error", "Invalid Param or No Param Passed. Please Correct") EndIf EndFunc Edited July 17, 2007 by Senton-Bomb Link to comment Share on other sites More sharing options...
NELyon Posted March 28, 2007 Author Share Posted March 28, 2007 I'm not sure why, But i licensed this under a Creative Commons license. Anybody can build off it and release it. (http://creativecommons.org/licenses/by/3.0/us/) So why not make it compatible with Apache too. I don't use apache but I'm sure many of you do 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