Get your web server and portable browser of choice working on your flash drive.
Batch file:
@REM Open php files in a portable browser in a portable web server with a win10 64-bit batch file
@echo off
setlocal enableextensions
%~d0\xampp\xampp_start.exe
rem if an instance of the browser is running the batch will not pause and the web server will be stopped.
taskkill /im GoogleChromePortable.exe> NUL 2>&1
"%~d0\GoogleChromePortable\GoogleChromePortable.exe" http://localhost/applications.html http://localhost/index.php
echo.
%~d0\xampp\xampp_stop.exe
exit
You should not use any software that is not on your flash drive but if you do:
If the default browser is IE11 you can only open one page / file / tab. The following command will not stop the batch file and pause must be used to keep the web server from stopping.
start http://localhost/index.php
begin will not work
start http://localhost/applications.html http://localhost/index.php
start "" http://localhost/applications.html http://localhost/index.php
start "" /wait http://localhost/applications.html http://localhost/index.php
start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://localhost/applications.html http://localhost/index.php
"%ProgramFiles%\Internet Explorer\iexplore.exe" %22http://localhost/index.php%22%20%22http://localhost/applications.html%22
"%ProgramFiles%\Internet Explorer\iexplore.exe" http://localhost/index.php%20http://localhost/applications.html
"%ProgramFiles%\Internet Explorer\iexplore.exe" http://localhost/index.php http://localhost/applications.html
end will not work