pushd %~dp1 cd %~dp0 stex.exe unpack -i %1 -o . stex.exe pack -i %1 -o .