- Aug
- 2,320
- 111
I am using;
About a week or so ago, the following batch file started producing;
after completing. It has been running with no problem up until a week or so ago for several years.
Here's the .BTM file;
...and here's the run;
This is the file;
...which is a RightNote file which I have been adding to every day for well over a year.
The only other thing that has changed, is that I have been updating TCMD whenever a new update becomes available.
Note that this only occurs from a .BTM file, but NOT from the command line.
The created AC.7z file is valid, extracting Adult_Contemporary.rnt from AC.7z is valid, and I can use the extracted Adult_Contemporary.rnt file with RightNote no problems.
I have also tried without the /A option, same result.
Note that 7zip is an internal command;
If I change the .BTM to use 7z.exe;
...it returns;
...and no;
...is returned.
Note that the AC.7z file is copied to another device, and then deleted, thus a new AC.7z is created each day.
Joe
Code:
c:\users\jlc\documents>ver
TCC 24.02.46 x64 Windows 7 [Version 6.1.7601]
About a week or so ago, the following batch file started producing;
Code:
Cancel batch job C:\Users\jlc\utils\7zac.btm ? (Y/N/A) : N
Here's the .BTM file;
Code:
@setlocal
@echo off
7zip /A /P c:\utils\AC.7z "docs:\Adult_Contemporary.rnt"
endlocal
...and here's the run;
Code:
c:\users\jlc\utils>7zac
<= C:\Users\jlc\Documents\Adult_Contemporary.rnt
100 %
Cancel batch job C:\Users\jlc\utils\7zac.btm ? (Y/N/A) : N
This is the file;
Code:
3/30/2019 15:29 2,291,487,744 Adult_Contemporary.rnt
The only other thing that has changed, is that I have been updating TCMD whenever a new update becomes available.
Note that this only occurs from a .BTM file, but NOT from the command line.
The created AC.7z file is valid, extracting Adult_Contemporary.rnt from AC.7z is valid, and I can use the extracted Adult_Contemporary.rnt file with RightNote no problems.
I have also tried without the /A option, same result.
Note that 7zip is an internal command;
Code:
c:\users\jlc\utils>which 7zip
7zip is an internal command
If I change the .BTM to use 7z.exe;
Code:
@setlocal
@echo off
which 7z
7z a -t7z c:\utils\AC.7z "c:\users\jlc\documents\Adult_Contemporary.rnt"
endlocal
...it returns;
Code:
c:\users\jlc\utils>7zac
7z is an external : C:\ProgramData\chocolatey\bin\7z.exe
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive:
1 file, 2291487744 bytes (2186 MiB)
Creating archive: c:\utils\AC.7z
Add new data to archive: 1 file, 2291487744 bytes (2186 MiB)
Files read from disk: 1
Archive size: 202475565 bytes (194 MiB)
Everything is Ok
...and no;
Code:
Cancel batch job C:\Users\jlc\utils\7zac.btm ? (Y/N/A) : N
Note that the AC.7z file is copied to another device, and then deleted, thus a new AC.7z is created each day.
Joe