As discussed on Wine-devel recently this patch allows wcmd to execute a file "autoexec.wine" if it exists in the root directory of the default drive. Index: programs/wcmd/wcmdmain.c =================================================================== RCS file: /home/wine/wine/programs/wcmd/wcmdmain.c,v retrieving revision 1.22 diff -u -r1.22 wcmdmain.c --- programs/wcmd/wcmdmain.c 11 Feb 2003 22:01:11 -0000 1.22 +++ programs/wcmd/wcmdmain.c 23 Feb 2003 16:18:26 -0000 @@ -102,16 +102,14 @@ } /* - * If there is an AUTOEXEC.BAT file, try to execute it. + * If there is an AUTOEXEC.WINE file, try to execute it. */ - GetFullPathName ("\\autoexec.bat", sizeof(string), string, NULL); + GetFullPathName ("\\autoexec.wine", sizeof(string), string, NULL); h = CreateFile (string, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (h != INVALID_HANDLE_VALUE) { CloseHandle (h); -#if 0 - WCMD_batch (string, " "); -#endif + WCMD_batch (string, " ", 1); } /*