Murat Yildizoglu wrote:
> 
> Hi,
> 
> Now that I have a very nicely running Win4Lin installation (thanks again for
> 3.05), I am focusing on more particular problems. One of them is the
> impossibility of launching Dos batch files from Windows programs. Example:
> 
> I use a TeX editor from which I compile my documents through a menu item
> connected to a dos batch file that dvips it and preview it in ghostview. All
> this is used to work very nicely under native Windows 98SE.
> 
> If I try to push the same button under Win4Lin, I get a message telling that
> "C:command.com file does not exist" (please notice that the message gives
> C:command.com and not C:\command.com). Of course command.com is present in the
> root of my /win directory (and hence the C: drive in Win4Lin). If I open a dos
> box and run the batch file manually, it works). Why does tit not work directly
> from my application?
> 
> Any idea?

I have two suggestions:
  1) I noticed that in a real windows installation that COMSPEC is
     set to C:\WINDOWS\COMMAND.COM, so in your $HOME/win/autoexec.bat
     try doing a 
        set COMSPEC=C:\WINDOWS\COMMAND.COM

  2) I am not sure how a "windows program" is starting the batch file.
     Do you have source for the Windows program?  If it is being done
     instead as a shortcut to a PIF file, you could configure the
     startup working directory as either C:\ or C:\WINDOWS

Richard <rwb>
-- 
Richard W. Bass
Systems Software Architect
NeTraverse, Inc.
mailto: [EMAIL PROTECTED]
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to