> I never experienced that .... > But I run several permanents BAT files > (not writen from RBW) thru ZIP > command.com /c BatFileName parameter > list using PKZIP/UNZIP and I > never had such problem ....
This has been running at several sites for nearly two years w/o a problem. They are all still using the same runtime version (as Dr R> will attest to <g>). The apx did undergo some major additions and rewrites this last year, so that is where I suspect the problem lies, but I don't understand why. This routine is only run for a few months at the beginning of the year, so I'm not surprised this didn't show up until now. > Are you sure to use PKUNZIP parameter in the rigth order ? Yes > What happen if PKUNZIP is read only ? This solves the problem... mostly. The routine runs fine now on the Win98 machine I have access to with pcAnywhere. There is a Win2000 machine on which there are still problems... but I suspect there must be another issue. I'll learn more tomorrow. > What happen if you run yout BAT file at the DOS prompt ? This works fine even if pkUnzip is not set to read only. > Use the verbose param. and pause DOS command to understand what happen When run by zipping out of RBase, and pkUnzip not set to read only, I just get an "error in exe" error. This occurs _after_ the routine has been run one time... so the file is corrupted after pkUnzip has extracted the target zip file. > ... What OS and RBW version are you using ? I'm using NT4 server. My customer uses Win98 and W2k on an NT4 network. Ben Petersen On 4 Feb 2003, at 16:54, J.M. GRATIAS wrote: > > Ben : > > >> > Has anyone else experienced this? > I have a routine that writes a batch file and then zips out to execute > it. The batch file runs pkunzip.exe and mt.exe. The problem is that > both pkunzip and mt are corrupted after being run. The size of both is > reduced. This is only true if the batch executes these two files in > the same directory as the batch file and from within RBase. If they > only reside on the path (not in the same directory) it's not a > problem. << > > I never experienced that .... > But I run several permanents BAT files (not writen from RBW) thru ZIP > command.com /c BatFileName parameter list using PKZIP/UNZIP and I > never had such problem .... > > Are you sure to use PKUNZIP parameter in the rigth order ? > What happen if PKUNZIP is read only ? > What happen if you run yout BAT file at the DOS prompt ? > Use the verbose param. and pause DOS command to understand what happen > ... What OS and RBW version are you using ? > > J.M. GRATIAS, Logimatique > >

