Home / Microsoft / Microsoft DOS / Starting Windows Applications from Batch File
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Starting Windows Applications from Batch File  (Read 680 times)
HydraulicIT
Guest
« on: May 07, 2004, 07:30:07 AM »

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?
IP logged
HydraulicIT
Guest
« Reply #1 on: May 07, 2004, 09:09:10 AM »

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!
IP logged
Blackberry
Adviser



Posts: 767



For those with wings, fly to your dreams.

« Reply #2 on: November 18, 2005, 01:55:40 PM »

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 :D
IP logged

Everybody knows you can't click here. But I know you will try it :)
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Starting Windows Applications from Batch File « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.076 seconds with 20 queries.