Friday, September 23, 2011

How to create .UHA file


HOW TO CREATE .UHA FILE AND RUN AUTOMATICALLY

NEED TO DOWNLOAD UHA.EXE OR UHARC.EXE

1. create a batch file (to compress uha file)
==============================================
echo off
uha.exe a -m3 -r -pf -o sales.uha e:\sales\*.*

Note: here sales.uha is target filename
e:\sales\*.* is source folder name


2. create another batch file ( to decompress and run uha file)

uha.exe x -t"%TEMP%\Soft" -y+ sales.uha
start "" /D"%TEMP%\Soft\Sales" "sales.bat"

No comments: