Hello,
i found a problem during running a batch file. The problem is the start command. Win9x has it as separate comand (as we currently have it in wine). The Nt based Windows Versions have it as builtin comand in cmd.
Wcmd does not know the start command because the start command ist installed in windows/comand directory, but the directory ist not in the path known by wcmd.
An easy fix might be to add the windows/comand directory to the path variable on startup of wcmd.
Is the fine for everyone? If not please suggest a better solution.
Bye Stefan
Stefan Leichter wrote:
Hello,
i found a problem during running a batch file. The problem is the start command. Win9x has it as separate comand (as we currently have it in wine). The Nt based Windows Versions have it as builtin comand in cmd.
Wcmd does not know the start command because the start command ist installed in windows/comand directory, but the directory ist not in the path known by wcmd.
An easy fix might be to add the windows/comand directory to the path variable on startup of wcmd.
Is the fine for everyone? If not please suggest a better solution.
as we get but report for programs not working because the get fooled by wine's start.exe (which shouldn't exist on latest NT), another way would be to integrate the start exec as a wcmd command you'd kill two birds with one stone incidentally you would break Win9x programs requiring start outside of the command handler... A+
Eric Pouech wrote:
Stefan Leichter wrote:
Hello,
i found a problem during running a batch file. The problem is the start command. Win9x has it as separate comand (as we currently have it in wine). The Nt based Windows Versions have it as builtin comand in cmd. Wcmd does not know the start command because the start command ist installed in windows/comand directory, but the directory ist not in the path known by wcmd.
An easy fix might be to add the windows/comand directory to the path variable on startup of wcmd.
Is the fine for everyone? If not please suggest a better solution.
as we get but report for programs not working because the get fooled by wine's start.exe (which shouldn't exist on latest NT), another way would be to integrate the start exec as a wcmd command you'd kill two birds with one stone incidentally you would break Win9x programs requiring start outside of the command handler... A+
A related problem with older Win3.11/win95 apps is they set values in the autoexec.bat and to run Delphi 1.0 or borland BC++4.5 I have to start wcmd in a terminal the run then autoexec to set the paths and start delphi or bcw. It would be nice to allow setting winecfg to allow some applications to run c:autoexec.bat prior to running like you do with dll overrides. Paul R.
Wednesday, January 4, 2006, 3:52:07 PM, paul wrote:
Eric Pouech wrote:
Stefan Leichter wrote:
Hello,
i found a problem during running a batch file. The problem is the start command. Win9x has it as separate comand (as we currently have it in wine). The Nt based Windows Versions have it as builtin comand in cmd. Wcmd does not know the start command because the start command ist installed in windows/comand directory, but the directory ist not in the path known by wcmd.
An easy fix might be to add the windows/comand directory to the path variable on startup of wcmd.
Is the fine for everyone? If not please suggest a better solution.
as we get but report for programs not working because the get fooled by wine's start.exe (which shouldn't exist on latest NT), another way would be to integrate the start exec as a wcmd command you'd kill two birds with one stone incidentally you would break Win9x programs requiring start outside of the command handler... A+
A related problem with older Win3.11/win95 apps is they set values in the autoexec.bat and to run Delphi 1.0 or borland BC++4.5 I have to start wcmd in a terminal the run then autoexec to set the paths and start delphi or bcw. It would be nice to allow setting winecfg to allow some applications to run c:autoexec.bat prior to running like you do with dll overrides. Paul R.
I don't think that's the way it works on winNT. It does ignore the content of the c:\autoexec.bat. So does Wine.
Vitaliy
Eric Pouech wrote:
An easy fix might be to add the windows/comand directory to the path variable on startup of wcmd.
Is the fine for everyone? If not please suggest a better solution.
as we get but report for programs not working because the get fooled by wine's start.exe (which shouldn't exist on latest NT), another way would be to integrate the start exec as a wcmd command you'd kill two birds with one stone incidentally you would break Win9x programs requiring start outside of the command handler...
Actually, if there's a start.exe in the current directory in Windows, that "start" will be run rather than the builtin start.
If you're going to change the way it works, make sure that you handle that case correctly. You might also want to check what happens if there's a start.exe in the PATH.
Mike