Another 4NT 8.02 vs TCC 9.02 diff - MOVE command

Jun 7, 2008
121
0
Hi

Has MOVE changed between 4NT 8.02 and TCC 9.02?

For space purposes on a Network drive, I have a batch file which unzips ZIP files and re-ZIPs them using maximal compression, placing them back they started, savign a small amount of space.

It looks like

>>>>>>>>>
for %a in (B2007*.Z) do (wzunzip %a C: & wzzip -ex -m C:%a C:*.* & move /Z C:%a m:)
>>>>>>>>>

Now this works under 4NT 8.02, it fails under TCC 9.02.
(The original ZIP files have a Z extension and have the read-only attribute set).

What I have determined is that the MOVE command

MOVE /Z C:B20070101.BR2.Z M:

is working for 4NT 8.02 but failing for TCC 9.02
I get "Access denied". MOVE is not honoring the /Z switch
If I remove the read-only attribute on the destination, MOVE then works for TCC 9.02.

In constrast, 4NT 8.02 does not care if the destination file is readonly or not, /Z works (and I have verified that without /Z and with readonly attribute, 4NT 8.02 also gives "Access denied" (the right thing under these combination of circumstances)).

Thanks

Stephen Howe
 

rconn

Administrator
Staff member
May 14, 2008
11,005
98
Stephen Howe wrote:


> What I have determined is that the MOVE command
>
> MOVE /Z C:B20070101.BR2.Z M:
>
> is working for 4NT 8.02 but failing for TCC 9.02
> I get "Access denied". MOVE is not honoring the /Z switch
> If I remove the read-only attribute on the destination, MOVE then works for TCC 9.02.
Fixed for build 153.

Rex Conn
JP Software
 
May 20, 2008
3,520
3
Elkridge, MD, USA
Stephen Howe wrote:
|
| Has MOVE changed between 4NT 8.02 and TCC 9.02?
...

Apparently there was a problem, and within 2 hours of when you reported it
Rex released a new build to fix it!

Congratulations, Rex!
--
Steve