Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VFPSrv\Parameters] "AppDirectory"="d:\\fox90\\test" "Application"="d:\\fox90\\test\\vfpsrv.exe" "AppParameters"="myparm1 myparm2" You can use the VFP command window to control the service: !net start vfpsrv !net stop vfpsrv or the DOS command window: net start vfpsrv