Find the MS-DOS name for whatever directory or file contains the space. Right-click on the directory/file and select Properties. On the General tab, you'll see an entry labeled MS-DOS Name. Substitute this name for the ImagePath name used for that service in the registry.
For example, if you have d:\fldr spc tservice tservice.exe installed, you'll need to right-click on d:\fldr spc and select Properties.You'll see that the MS-DOS name is FLDRSP~1
The ImagePath for this service was found under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services T Service Demonstration
Change it from D:\FLDR SPC TSERVICE \ TSERVICE.EXE to:
D:\FLDRSP~1\ TSERVICE \TSERVICE.EXE
BoundsChecker should now run without a problem for that service