This thread shows the batch & VBS hybrid code used to unzip a ZIP archive file. Can a similar short batch & Jscript hybrid code be written, and how batch variables will be referenced in the Jscript block?
Would the similar batch & wsf hybrid structure be applicable like in the referenced thread, or a different approach?
<!-- : Begin batch script
@echo off
set "dir=%TEMP%\Unzip" & set "file=%USERPROFILE%\Downloads\archive.zip\"
cscript //nologo "%~f0?.wsf" "%dir%" "%file%"
exit /b
----- Begin wsf script --->
<job><script language="JScript">