Problem sa update procedurom kod verzije 0.9.18 na windows-u
Dodano od Željka Vranić prije više od 13 godina
Evo šta mi prijavi
C:\Documents and Settings\bjasko\tmp\tmp>wget "http://knowhow-erp-f18.googlecode .com/files"/F18_Windows_0.9.18.gz --2011-12-15 11:54:12-- http://knowhow-erp-f18.googlecode.com/files/F18_Windows _0.9.18.gz Resolving knowhow-erp-f18.googlecode.com... 74.125.79.82 Connecting to knowhow-erp-f18.googlecode.com|74.125.79.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3337225 (3.2M) [application/x-gzip] Saving to: `F18_Windows_0.9.18.gz' 100%[======================================>] 3,337,225 775K/s in 4.2s 2011-12-15 11:54:18 (775 KB/s) - `F18_Windows_0.9.18.gz' saved [3337225/3337225] C:\Documents and Settings\bjasko\tmp\tmp>if not exist F18_Windows_0.9.18.gz goto :ERR2 C:\Documents and Settings\bjasko\tmp\tmp>goto :KILL C:\Documents and Settings\bjasko\tmp\tmp>taskkill /F /IM F18.exe /T 'taskkill' is not recognized as an internal or external command, operable program or batch file. C:\Documents and Settings\bjasko\tmp\tmp>tasklist /FI "IMAGENAME eq F18.exe" 2 >NUL | find /I /N "F18.exe" 1>NUL
Odgovori (7)
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Saša Vranić prije više od 13 godina
nema taskkill komande pa se skripta jednostavno završi i ne uradi ništa
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Ernad Husremović prije više od 13 godina
update se radi ovoga ne desi ?
workaround:
u c:/knowhowERP/util/f18_update.cmd staviti ispred linija
taskkil ... taslist ...
rem. znači treba da bude
rem taskkil ... rem taslist ...
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Ernad Husremović prije više od 13 godina
a bjasko će u ver 0.4.0 aBd instalera sistemski riješiti problem.
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Emir Šator prije više od 13 godina
Evo ja sam upravo kod sebe testirao update na ver 0.9.18
C:\Documents and Settings\semir\tmp>wget "http://knowhow-erp-f18.googlecode.com/ files"/F18_Windows_0.9.18.gz --2011-12-15 12:00:38-- http://knowhow-erp-f18.googlecode.com/files/F18_Windows _0.9.18.gz Resolving knowhow-erp-f18.googlecode.com... 173.194.65.82 Connecting to knowhow-erp-f18.googlecode.com|173.194.65.82|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3337225 (3.2M) [application/x-gzip] Saving to: `F18_Windows_0.9.18.gz' 100%[======================================>] 3,337,225 336K/s in 9.6s 2011-12-15 12:00:48 (340 KB/s) - `F18_Windows_0.9.18.gz' saved [3337225/3337225] C:\Documents and Settings\semir\tmp>if not exist F18_Windows_0.9.18.gz goto :ERR 2 C:\Documents and Settings\semir\tmp>goto :KILL C:\Documents and Settings\semir\tmp>taskkill /F /IM F18.exe /T ERROR: The process "F18.exe" not found. C:\Documents and Settings\semir\tmp>tasklist /FI "IMAGENAME eq F18.exe" 2>NUL | find /I /N "F18.exe" 1>NUL C:\Documents and Settings\semir\tmp>if "1" == "0" goto KILL C:\Documents and Settings\semir\tmp>goto :EXTR C:\Documents and Settings\semir\tmp>gzip -dN F18_Windows_0.9.18.gz C:\Documents and Settings\semir\tmp>xcopy /Y /i F18.exe c:\knowhowERP\bin C:F18.exe 1 File(s) copied
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Željka Vranić prije više od 13 godina
na tom računaru očigledno imaju ti alati, a ovdje ne, ok odradio sam ovo u f18_windows_update.bat fajlu
echo zatvaram aktivne F18 procese :KILL rem taskkill /F /IM F18.exe /T rem tasklist /FI "IMAGENAME eq F18.exe" 2>NUL | find /I /N "F18.exe">NUL rem if "%ERRORLEVEL%"=="0" goto KILL goto :EXTR
stavio sam ove tri rem linije i sada je update ok
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Emir Šator prije više od 13 godina
Testirao sa pokrenutim F18, da provjerim da li je taskkill OK.
Update se uspješno izvrši.
C:\Documents and Settings\semir\tmp>if not exist F18_Windows_0.9.18.gz goto :ERR 2 C:\Documents and Settings\semir\tmp>goto :KILL C:\Documents and Settings\semir\tmp>taskkill /F /IM F18.exe /T SUCCESS: The process with PID 2752 child of PID 2872 has been terminated. C:\Documents and Settings\semir\tmp>tasklist /FI "IMAGENAME eq F18.exe" 2>NUL | find /I /N "F18.exe" 1>NUL C:\Documents and Settings\semir\tmp>if "1" == "0" goto KILL C:\Documents and Settings\semir\tmp>goto :EXTR C:\Documents and Settings\semir\tmp>gzip -dN F18_Windows_0.9.18.gz C:\Documents and Settings\semir\tmp>xcopy /Y /i F18.exe c:\knowhowERP\bin C:F18.exe 1 File(s) copied
RE: Problem sa update procedurom kod verzije 0.9.18 na windows-u
-
Dodano od Saša Vranić prije više od 13 godina
Emire, pogledaj moju prijavu gore i ovu liniju
C:\Documents and Settings\bjasko\tmp\tmp>taskkill /F /IM F18.exe /T 'taskkill' is not recognized as an internal or external command, operable program or batch file.
a pogledaj to kod sebe u tvom output-u pa će ti biti jasnije :)