Hi, thanks for responding!
If my environment variables were not set, it would have not worked the first time, and wget would of had that same error the first time. But I do have wget in the correct directory, and the variables ARE set.
When the script runs it invokes a batch file that sets all the variables (kdesettings.bat).
I don't know what could have gone wrong from running it once before. It doesn't make any logical sort of sense at all. But everything is set correctly.
This is my 'PATH' under environment variables:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Subversion\bin;c:\python25;c:\python25\scripts;c:\mingw\bin
And this is the kdesettings.bat which defines them when it executes:
@echo off
set KDEROOT=c:\kderoot
set KDECOMPILER=mingw
set PYTHONPATH=c:\python25\bin
set MSYSDIR=c:\kderoot\msys
set DOWNLOADDIR=c:\kdedownload
set KDESVNDIR=c:\kdesvn
set KDESVNSERVER=svn://anonsvn.kde.org
set KDESVNUSERNAME=username
rem set KDESVNPASSWORD=password
set SVN_SSH=plink
set directory_layout=installer
set EMERGE_BUILDTYPE=RelWithDebInfo
set EMERGE_VERBOSE=1
set EMERGE_NOCOPY=True
rem set EMERGE_BUILDTESTS=True
rem set EMERGE_PKGDSTDIR=%KDEROOT%\tmp
rem No editing should be necessary below this line (in an ideal world)
rem ##################################################################
set PATH=%PYTHONPATH%;%PATH%
echo kdesettings.bat executed
echo KDEROOT : %KDEROOT%
echo KDECOMPILER : %KDECOMPILER%
echo KDESVNDIR : %KDESVNDIR%
echo PYTHONPATH : %PYTHONPATH%
echo DOWNLOADDIR : %DOWNLOADDIR%
Thanks for help so far, looking forward to hear from you