Tech Support > Operating Systems > MS-DOS > dos commands dont work in a batch file in XP ?
dos commands dont work in a batch file in XP ?
Posted by Seth Russell on March 16th, 2005


If i open a dos box (cmd.exe from a shortcut) and type in some dos
commands, they work fine. But if i write those same commands in a .bat
file, one of them hangs. The command is "ve /whatever" it is supposed
to turn on my vocaleyes voice.

Help, how can i get this command to work in a script file? It is too
long (about 5 complicated commands) for me to type in the whole program
each time.

Seth Russell
http://can-you-hear-me.org

Posted by William Allen on March 16th, 2005


"Seth Russell" wrote in message
Try using the START command. For help with this command, see
the extensive help under the /? switch
start /?

Instead of:
ve /whatever
try:
start ve /whatever

This should start the process in a separate GUI thread, and then allow
control to pass back to the Batch file correctly.

--
William Allen
Free interactive Batch Course http://www.allenware.com/icsw/icswidx.htm
For example Batch Files see: http://www.allenware.com/find?BatchLibrary
Creative Technical Writing - Allen & Company: http://www.allenware.com/



Posted by Seth Russell on March 21st, 2005



William Allen wrote:
Actually this doesn't work The ve (vocal eyes) program wants to
execuite and stay resident because it intercepts the keyboard and
screen and sends it out the serial port to a synthesized voice for the
visually impaired. "start ve /f1denise" would not leave the program
resident in the current environment, would it? But in any case "start
ve /f1denise" ended up hanging in the child window, just like it did
from the original batch program. What is strange is that if i type
that command in manually through the keyboard, it works, but if the
command is run from a batch program, it hangs. Wierd, huh?

Then too i have more serious problems. When i type in the full script
in the dos box:

cd \vocaleye
accent /!c1 /!d7
ve /f1denise
cd \public
tome.bat

It works, but the keyboard is very slow to respond. Also there is
about 30 seconds delay when the application prints. Why is the XP dos
window so much slower than the ME one was, and how can i speed it up ?

Thanks in advance for any help that you can provide ...

Seth Russell


Posted by alreust@gmail.com on April 5th, 2005


Seth Russell wrote:
Seth

While I have not chased issues for blind users for a bit... I would
recommend that you save the commands to a small file on your desktop...

When you need to start the process you can open the file and then cut
and paste lines into the command window.

What you have described means what used to work in Win9x ME is having
issues, XP does have a "compatibility wizard" that may run the
program/batch/script files just fine... The original basic program is
not fully XP compatible... The Software company that produced it should
get busy and update it... They should write instructions that would
make it easier to migrate to XP... IF they are no longer interested
have the group bring pressure... Or find a better program...

The other recommendation would be contact support at microsoft with the
issue describing the software and the fact that blind users are having
issues... It would be interesting that Microsoft did not want to
help... they need to sell XP to visually challenged individuals..

R/

Al