dimanche 29 mars 2015

opening a page through cmd,exe but have cmd.exe stay in focus.

The background.. I have a few people using scanners to scan a barcode. The scanners are set with aprefix - start "" http://ift.tt/1CzZbSN? - Then the actual scan - 123456 - then a suffix - the users id. .


This leaves me with a finished input through the scanner of start "" http://ift.tt/1Nuy531


Going through the "Start" command I am actually opening a seperate program and opening the url through there. This URL though has no visual return - it just sets a flag in a database - and I need the command prompt to stay opened so that I can continually scan items. I could set the webpage o auto close after load but that could potentially block a new input into the command prompt until the browser is closed and the command prompt brought back in to focus.


The question is .. Is there a better option then "start" that will allow me to hit the webpage but to stay in command prompt.


P.s. attempting to have this done on a windows machine but am open to doing it through android


Aucun commentaire:

Enregistrer un commentaire