This forum deals with BCI2000 configuration issues.
-
stefan
- Posts: 13
- Joined: 22 Oct 2009, 16:43
Post
by stefan » 03 Nov 2009, 10:45
Hi,
Is it possible to pass more than just a one word command to the -SYSTEM option, and if yes, does anyone have an example? I was trying to do something along the lines of
operat.exe --OnSuspend "-SYSTEM somebatchfile.bat suspended" --OnResume "-SYSTEM somebatchfile.bat resumed"
Thanks,
Stefan
-
mellinger
- Posts: 1210
- Joined: 12 Feb 2003, 11:06
Post
by mellinger » 04 Nov 2009, 08:22
Stefan,
use URL encoding of the space character as in
operat.exe --OnSuspend "-SYSTEM somebatchfile.bat%20suspended"
HTH,
Juergen
-
stefan
- Posts: 13
- Joined: 22 Oct 2009, 16:43
Post
by stefan » 05 Nov 2009, 13:59
Thanks Juergen, got it working now. I had actually tried %20 earlier without success but hadn't realized then that the %2 was replaced by the command interpreter in my MS-DOS batch script. Using %%20 resolved this.
Stefan
Who is online
Users browsing this forum: No registered users and 16 guests