Path: utzoo!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!mailrus!uflorida!rex!ukma!ericd From: ericd@ms.uky.edu (Eric B. Durbin) Newsgroups: comp.sys.ibm.pc.programmer Subject: SOLVED!! (was: Perplexing TurboC problem between DOS 4.0 & DOS 3.3) Keywords: FILES=, CONFIG.SYS, THANKS Message-ID: <15372@s.ms.uky.edu> Date: 29 May 90 17:37:22 GMT Article-I.D.: s.15372 References: <15337@s.ms.uky.edu> Reply-To: ericd@ms.uky.edu (Eric B. Durbin) Organization: U of Kentucky, Mathematical Sciences Lines: 26 In article <15337@s.ms.uky.edu> I write: >I've just encountered a very strange problem that I can't figure out. >I've written a program in Turbo-C that runs on my PS/2 Model 55 SX >under MS-DOS 4.0. The pgm uses fopen("filename","w") to create a file, >writes some stuff to it with fprintf(), and fclose()'s. > >It runs fine on my machine, runs fine on a clone under DOS 3.3 but >when run on a PS/2 Model 30 under MS-DOS 3.30 the target file does not >exist after the program executes. It's an interactive program that >reads other files, all of which is obviously working. >... Turns out there was no "FILES=" statement in the Model 30's CONFIG.SYS and the program opens three files simultaneously. After inserting "FILES=30" the program runs fine. Thanks to everyone who responded. Special thanks to Frank Whaley, John P. Nelson, and Duane M. Butler who each suggested checking "FILES=" in CONFIG.SYS. Eric -- [] Eric B. Durbin (606) 257-4581 [] ericd@ms.uky.edu [] [] University of Kentucky [] ericd@UKMA.BITNET [] [] 165 Markey Cancer Center [] {rutgers, uunet}!ukma!ericd [] [] Lexington, KY 40536-0093 [] eric.durbin@ukwang.uky.edu []