cedars...@googlemail.com wrote:
> Haven't used DOS for a long while but, now that I must, I have a
> problem..
>
> Trying to run a batch file that only contains the following commands.
>
> echo off
> cls
> mode com1: 9600,n,8,1
> (set com1)
> barkb
> (load barcode scanner drivers)
It may be that some sort of delay is needed. Try adding "pause" here...
> barkbset start
> (start the barcode scanner)
...and if that doesn't work, try here instead.
> accounts.exe
> (start the accounting program)
>
> Everything appears to work and the accounts program runs as normal
> (from a Windows shortcut) except, the bar code scanner does not work.
>
> If I run the batch file from the command prompt, I get the same result
> but, if I run the commands one at a time from the command prompt, it
> all works properly.
>
> Any ideas which claim to 'stupidity' I can make today?
--
...with breath like a rocket booster and teeth like a park fence...