Ok, so I know to run an .exe in batch you use START. However, let me explain how the .exe works.
Let's say I have it in C:\, and it's called uptime.exe.
I would go to Run and bring up cmd and navigate to C: then type into CMD the following: uptime.exe computername.
However, to run it, I always have to go through those steps of going into cmd prompt and typing in uptime.exe computername.
I wanted to create a batch file that would prompt the username and attach that to starting the .exe but my attempts have failed.
This is what I have:
@echo off
color 0E
:start
SET /P pcname=Type in Computer's Name:
echo.
start "c:\windows\system32" uptime.exe /%pcname%
echo.
ECHO Press any key to close this window.
pause>nul
:startlabel?