xp laptop

NOTE the above^^^ progra~9 numbers are for Win 7. ProgFile on XP is probably 1 and ProgramData 2. Try long quoted names“

Use a batch file like this:
@cd %programfiles(x86)%
if errorlevel = 1 goto x86
do x64 stuff here
goto end
do x86 stuff here
:end 
--------------------------------------
sc delete whJacs
if exist %programfiles(x86)%  (
set progFilesx86 = "progra~1"
) else (
REM we are on a 64 bit machine
set progFilesx86 = "progra~2"
)
sc create “Jas Administrative Control System” start= auto binPath= “C:\%progFilesx86%\JAS\bin\whJACS.exe -srvName whJACS -i.\whJacs.icx -ini:vmcfg.ini -srvWorkingDir C:\%progFilesx86%\JAS\jacs”
sc description “Jas Administrative Control System” “Jas Administrative Control System”
sc whJacs start