Subj : Re: Thin client PC to run MS-DOS To : poindexter FORTRAN From : Digital Man Date : Sun Dec 07 2025 16:29:28 Re: Re: Thin client PC to run MS-DOS By: poindexter FORTRAN to phigan on Sat Dec 06 2025 11:32 am > Subject: Re: Thin client PC to run MS-DOS > @MSGID: <693484C2.202.dove.hardware@realitycheckbbs.org> > @REPLY: <693370AB.1247.dove-hwswhelp@tacopronto.bbs.io> > @TZ: 41e0 > -=> phigan wrote to poindexter FORTRAN <=- > > > Most apps put themselves in the same directory name as the executable. A > > crafty sort would write a batch file called go.bat that read: > > ph> I did stuff like that for a bit and then the OCD in me got pissed at > ph> all the extra files laying about so I deleted them. > > You'd only need one batch file - using command line variables, it'd take > the first argument on the command line, change directory to the > directory named %1, then run the command %1. > > go, "go procomm" would be the same as running: > > cd \procomm > procomm > > type in "go telix" and it'd run: > > cd \telix > telix Or just put \procomm and \telix in your search PATH. Most of those programs were smart enough to be able to find their config/data files based on argv[0] and didn't really need the current working directory to be "their" directory upon invocation. -- digital man (rob) Synchronet "Real Fact" #36: Synchronet's Windows DLLs are built with Microsoft Visual Studio/C++ Norco, CA WX: 72.6øF, 41.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .