- Aug
- 184
- 5
I've had a batch file for some time that unzips Microsoft Office *.docx, *.xlsx, and other OpenXML files. It creates a subfolder and then uses the unzip command to extract the contents of the archive to said subfolder. Ever since I updated to TCMD 12.x from TCMD 11.x the same batch file is no longer working. The contents of the batch file are:
set xdir=%@path[%@full[%1]]%@name[%1] UNZIPPED
md "%xdir"
unzip /d %1 "%xdir" *
unset xdir
The problem is that the unzip command is no longer using the specified path. In fact, I can't get the unzip command to extract any archive to a path I supply. Has something changed? Is it broken? Thanks in advance.
set xdir=%@path[%@full[%1]]%@name[%1] UNZIPPED
md "%xdir"
unzip /d %1 "%xdir" *
unset xdir
The problem is that the unzip command is no longer using the specified path. In fact, I can't get the unzip command to extract any archive to a path I supply. Has something changed? Is it broken? Thanks in advance.