:: Autor ne0x@echo offset /P BASE=Base :set /P EXPONENTE=Exponente :if %BASE%.==. exit 1if %EXPONENTE%.==. exit 1set resultado=1FOR /L %%A IN (1,1,%EXPONENTE%) DO set /A resultado=resultado*BASEecho Resultado : %resultado%goto:EOF