rel279
03-14-2004, 05:53 PM
I was getting error:msg deleting foldit.bat when trying to start or upload!
Only posting this because I was asked for more info....It is almost Tues.
AMD 400mhz
256mb pc100
8.9 gb hd
Windoze ME
Useing dfGUI to upload on dialup.
TEXT FROM FOLDIT.BAT FILE:
@echo off
:start
if EXIST donename.dat goto donename
if EXIST changename.dat goto change2
if EXIST tmpfoldit.bat goto change
:donename
if EXIST donename.dat del tmpfoldit.bat
if EXIST donename.dat del donename.dat
.\foldtrajlite -f protein -n native -qt -rt -i f -g 1 -p 0
if EXIST doupdate.txt goto doupdate
goto end
:change
copy foldit.bat changename.dat > NUL
.\tmpfoldit.bat
goto end
:change2
del foldit.bat
del changename.dat
copy tmpfoldit.bat foldit.bat > NUL
copy foldit.bat donename.dat > NUL
.\foldit.bat
goto end
:doupdate
del doupdate.txt
".\distribfold-update.exe" -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del ".\distribfold-update.exe"
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
goto start
:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file distribfold-update.exe is in the current directory and try again
pause
goto end
:end
distrib_update 2kb dos file:
@echo off
if NOT "%1"=="" goto
echo This command should not be run by the user, it is used exclusively to apply patches to the distributed folding client
goto end
echo New version found; attempting to unpack patch file
sleep 3 > NUL
if "%2"=="foldsaver" goto contss
if "%OS%"=="Windows_NT" goto ntclient
echo Update > doupdate.txt
goto end
:ntclient
%1 -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del %1
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
if NOT "%2"=="foldtrajlite" goto contservice
foldit
goto end
:contservice
net start %2
goto end
:contss
mkdir C:\DFPUPDTP
%1 -o > NUL
sleep 15 > NUL
rem copy .scr to system or system32 directory; assumed to extract to C:
C:
cd \DFPUPDTP
if NOT EXIST file_id.diz goto sserror
del %1
del file_id.diz
if NOT EXIST Foldtraj.scr goto success
if "%OS%"=="Windows_NT" goto nt
del %WINDIR%\system\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system\Foldtraj.scr
goto success
:nt
del %WINDIR%\system32\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system32\Foldtraj.scr
:success
move /y *.* %3
cd \
rd DFPUPDTP
echo Foldtraj Screensaver update was successful
goto end
:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file %1 is in the current directory and try again
pause
goto end
:sserror
echo Foldtraj Screensaver update was unsuccessful, please correct any problems,
echo ensure the file %1 exists and try again
pause
:end
LAST ENTRIES IN ERROR LOG:
========================[ Mar 13, 2004 9:21 PM ]========================
Starting foldtrajlite built Jan 12 2004
========================[ Mar 13, 2004 9:29 PM ]========================
Starting foldtrajlite built Jan 12 2004
========================[ Mar 13, 2004 9:41 PM ]========================
Starting foldtrajlite built Jan 12 2004
All prog. would do was state ERROR: deleting foldit.bat
USEING TEXT CLIENT
:confused: :confused: :confused:
Only posting this because I was asked for more info....It is almost Tues.
AMD 400mhz
256mb pc100
8.9 gb hd
Windoze ME
Useing dfGUI to upload on dialup.
TEXT FROM FOLDIT.BAT FILE:
@echo off
:start
if EXIST donename.dat goto donename
if EXIST changename.dat goto change2
if EXIST tmpfoldit.bat goto change
:donename
if EXIST donename.dat del tmpfoldit.bat
if EXIST donename.dat del donename.dat
.\foldtrajlite -f protein -n native -qt -rt -i f -g 1 -p 0
if EXIST doupdate.txt goto doupdate
goto end
:change
copy foldit.bat changename.dat > NUL
.\tmpfoldit.bat
goto end
:change2
del foldit.bat
del changename.dat
copy tmpfoldit.bat foldit.bat > NUL
copy foldit.bat donename.dat > NUL
.\foldit.bat
goto end
:doupdate
del doupdate.txt
".\distribfold-update.exe" -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del ".\distribfold-update.exe"
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
goto start
:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file distribfold-update.exe is in the current directory and try again
pause
goto end
:end
distrib_update 2kb dos file:
@echo off
if NOT "%1"=="" goto
echo This command should not be run by the user, it is used exclusively to apply patches to the distributed folding client
goto end
echo New version found; attempting to unpack patch file
sleep 3 > NUL
if "%2"=="foldsaver" goto contss
if "%OS%"=="Windows_NT" goto ntclient
echo Update > doupdate.txt
goto end
:ntclient
%1 -o
sleep 15 > NUL
if NOT EXIST file_id.diz goto error
rem successful unpacking, so remove files and run again
del %1
del file_id.diz
echo Update was successful, restarting client
sleep 3 > NUL
if NOT "%2"=="foldtrajlite" goto contservice
foldit
goto end
:contservice
net start %2
goto end
:contss
mkdir C:\DFPUPDTP
%1 -o > NUL
sleep 15 > NUL
rem copy .scr to system or system32 directory; assumed to extract to C:
C:
cd \DFPUPDTP
if NOT EXIST file_id.diz goto sserror
del %1
del file_id.diz
if NOT EXIST Foldtraj.scr goto success
if "%OS%"=="Windows_NT" goto nt
del %WINDIR%\system\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system\Foldtraj.scr
goto success
:nt
del %WINDIR%\system32\Foldtraj.scr
move /y Foldtraj.scr %WINDIR%\system32\Foldtraj.scr
:success
move /y *.* %3
cd \
rd DFPUPDTP
echo Foldtraj Screensaver update was successful
goto end
:error
echo Foldtraj Client update was unsuccessful, please correct any problems,
echo ensure the file %1 is in the current directory and try again
pause
goto end
:sserror
echo Foldtraj Screensaver update was unsuccessful, please correct any problems,
echo ensure the file %1 exists and try again
pause
:end
LAST ENTRIES IN ERROR LOG:
========================[ Mar 13, 2004 9:21 PM ]========================
Starting foldtrajlite built Jan 12 2004
========================[ Mar 13, 2004 9:29 PM ]========================
Starting foldtrajlite built Jan 12 2004
========================[ Mar 13, 2004 9:41 PM ]========================
Starting foldtrajlite built Jan 12 2004
All prog. would do was state ERROR: deleting foldit.bat
USEING TEXT CLIENT
:confused: :confused: :confused: