From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richard W. Knight" Subject: Re: Problem with batch files Date: Fri, 09 Sep 2005 08:47:14 -0700 Message-ID: <4321AE82.8080709@rlknight.com> References: <4320FBF1.50309@rlknight.com> <200509091517.53206.dr.claudia.neumann@gmx.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200509091517.53206.dr.claudia.neumann@gmx.de> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Claudia Neumann , linux-msdos@vger.kernel.org Claudia Neumann wrote: >Hi Rick! > >Am Freitag, 9. September 2005 05:05 schrieben Sie: > > >>I'm trying to get xdosemu to run a batch file to start an application >>from my KDE desktop. The batch file is pretty simple, and I have been >>able to use it in the past. >> >>The batch file is located in /usr/lib/freedos and it's being called with >>"xdosemu -E pcplus.bat" >> >>@echo off >>D: >>cd \pcplus >>pcplus.exe >>exit >> >> > >Try > >@echo off >D: >cd \pcplus >call pcplus.exe >exitemu > >cu > >Claudia > > Claudia, Thanks for the reply. Adding "call" to the batch file doesn't make any difference. I forgot to mention my previous post, I do get an error message, "ERROR: could not change directory" and then the dosemu command line. The problem seems to be that the change directory command "cd" doesn't work in a batch file when called by xdosemu with -E. Does this make sense? Thanks again, Rick Knight