Running Portable Exe file through batch file
<p>I have created a batch file which runs multiple commands in the Windows command prompt, which is working just fine, however, I want to run a portable exe file through the same batch file as well. E.g. if I transfer the zip file to another computer, all I would like to do is run the batch file and that portable exe would run along with the other commands as well </p>

<pre><code>:start
cls
color 1A
cls
@echo off
echo. 
echo. 
echo.
echo ********************************************
echo ************* Test Program **************
echo ********************************************
echo. 
echo. 
echo.
echo 01) System information
echo 02) Ping
echo 03) IP configuration
echo 04) Verify Drivers
echo 05) Driver List 
echo 06) Get Serial Number 
echo 07) Disk Defragmentation 
echo 08) DiskPart 
echo 09) Repair Load Preferences 
echo 10) Run CCleaner 
echo.
REM This is a test program 
REM echo This is a Test Program 
set /pnum= Type the corresponding number to perform an operation: 
if %num%==01 (
cls
systeminfo 
)
if %num%==02 (
cls
ping www.google.com
)
if %num%==03 (
cls
ipconfig /all
)
if %num%==04 (
cls
verifier
)
if %num%==05 (
cls
driverquery
)
if %num%==06 (
cls
wmic bios get serialnumber
)
if %num%==07 (
defrag c: /a 
pause
cls
)
if %num%==08 (
diskpart 
pause
cls
)
if %num%==09 (
cls
lodctr /r /f
echo.
pause
)   
if %num%==10 (
cls 
C:\Users\kumar\Desktop\CCleaner.exe
echo.
pause)

    set /p choice="Do you want to restart? Press 'Y' to continue, or any other key to exit: "
if '%choice%'=='y' goto start
</code></pre>

<p>So for example in the last condition I am running CCleaner which is on the Desktop at the moment, but if i copy a zip file which consists of the BAT File and the CCleaner.exe how would i enable it to run on another PC after copying?</p>

<p>Any help would be appreciated.</p>