1.

Solve : Starting Windows Applications from Batch File?

Answer»

I have a batch file that starts windows applications (Excel). It works on several windows 98 and 2000 PCs. There is one Windows 98 PC here that it will not WORK on. The lines are:

CHDIR "C:\Program Files\Microsoft Office\Office10"
Excel.exe

I have even tried:

chdir "C:\Program Files\Microsoft Office\Office10"
start "Excel.exe"

and it still won't work. We have looked at the Path and added C:\WINDOWS;C:\WINDOWS\COMMAND and still no joy.

The error is:

This program cannot RUN in DOS mode.

When I tried the START command, I got:

Bad command or file name

The PC has normal settings for virtual memory, memory, and file System (32 bit).

Can anyone help on this?
Just wanted to post this and say that we finally figured this out. The PC in question was missing the contents of the COMMAND folder. DUH!Quote

Just wanted to post this and say that we finally figured this out. The PC in question was missing the contents of the COMMAND folder. DUH!


omg


Discussion

No Comment Found