This is a batch script to run httpserver in every drive path if drive exists to list its files. in this script set /a %port%
is not working.
@echo off
set /a port=8080
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%i: (
cd /d %%i:\
start SimpleHTTPServer.exe %port%
set /a port+=1
)