Example cgminer batchfile using it: (the EXIT as the last line is very important)
---------------
ECHO FILE=GML_WML.bat > INPUT.txtsetx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
CLS
COLOR 70
cgminer --scrypt -o stratum+tcp://us.wemineltc.com:80 -u xxx -p xxx --failover-only -o stratum+tcp://stratum.give-me-ltc.com:3333 -u xxx -p xxx -o
http://mining-foreman.org:10341 -u xxx -p xxx --intensity 13 --worksize 256 --thread-concurrency 8192 -g 2
2>Log.txtExit -----------------------------------