Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: (OT) BAT files................

Author: Mike Byrne

Date: 14:22:57 10/08/05

Go up one level in this thread


On October 08, 2005 at 16:45:32, George Tsavdaris wrote:

>Sorry for this off topic, but please someone can help me on this:
>
>Windows related thing.........
> I want to create a BAT file that when i click on it then the following should
>happen:
>
> Run from the command.com program, which is in the directory
>c:\windows\system32,  another dos program (called program1.exe) that is in the
>directory c:\folder1\folder2 for example?
>
>How i can do that? What commands do i have to write inside the bat file.......?
>
>Because now i have to go to the c:\windows\system32, go to command.com and type
>the whole c:\folder1\folder2 and then type program1.exe.
>Not very convenient................:-)
>
>Thanks.......

You sveral choices - some dos programs only run correctly it the command is at
the directory - assuming it has the requirement:
====================================
cd c:\folder1\folder2
c:\folder1\folder2\program1.exe
=============================

that should do it...

best,

Michael





This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.