--------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5I00006 Date: 05/13/98 From: GERALD MILLER Time: 06:58am \/To: RAYMOND BERIAU (Read 1 times) Subj: Calling another batch file... Hello Raymond, On Saturday May 09 1998 21:39, Raymond Beriau wrote to Gerald Miller: GM>> I guess this is MicroSoft's revenge to Rex Conn for turning down GM>> Bill Gates when he offered to purchase 4DOS.... ??? :-)) RB> I don't know if it's Microsoft revenge or that they design something RB> new without even thinking of backward compatibility... It could be the latter... It is my opinion, that there is an unwritten policy within Microsoft to constantly change their products to ensure that third party software reaches a point of incompatibility, thereby forcing the consumer to replace that software with a Microsoft product. I think their eventual goal is to saturate the market place with enough products that the day will come when a computer will not operate unless it is 100 percent Microsoft compatible. GM>> Or, you could always go back to using MS-DOS v6.22. (ROTFL) RB> I am not sure if I can use MS-DOS 6.22 with Windows 95 - with 7.00, RB> lost of things have been changed (I think) with the bois. I don't think Windows 95 will work with any other OS other than version 7.00. After some very frustrating attempts to retain MS-DOS 6.22 with Win95, I finally trashed Win95 and returned to Windows for WorkGroup. I am not a big fan of Windows (any version) and I will certainly not become a trained seal just because it is part of Bill's vision of the future for Microsoft and the computer world! (again, my opinion!) RB>>> Well, to me, it is a 4DOS problem because the help file still RB>>> indicate that using a different name for a startup file RB>>> (AUTOEXEC.BAT). GM>> Maybe now, JP Software will include an "Exception" notation in GM>> the help file OR fix the problem. RB> A notation would be good, unless they can create a way around the RB> problem without having to write a new DOS. In this day of Mega Mergers, can you envision a "marriage" between two companies such as Caldera and JP Software? RB>>> ... When all else fails, read the instructions. GM>> What a novel idea. Why didn't I think of that? :-} RB> It's a nice quote. Too many people prefer to contact the support RB> departments rather than reading the information that are found in help RB> files... For me, the support department is only the avenue of last resort... I read all the information I can and if I don't understand it, or what I am seeking is not there, I call upon my good friends and users within FidoNet. :-)) G'Day ... Gerald --- GoldED/386 2.50 UNREG * Origin: 4DOS for one and 4DOS for all! (1:153/715.6) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5I00007 Date: 05/13/98 From: GERALD MILLER Time: 08:55am \/To: GIORGIO FASCILLA (Read 1 times) Subj: Question #2! Hello Giorgio, On Monday May 11 1998 19:06, Giorgio Fascilla wrote to Gerald Miller: GF> 12 Apr 98 11:57, Gerald Miller wrote to Ted Menks: GM>> Yup! I get an new ASCII Nodelist from my boss and I want to move GM>> it to my \NODELIST directory and at the same time, I want to move GM>> the old GF> Do you want to work whit the uncompressed ASCI nodelist, or with the GF> compressede ASCII nodelist? The incoming nodelist arrives in uncompressed, ASCII format and that is what I'm working with. GF> I think that the best is to keep the new nodelist uncompressed (so you GF> can use it), and compress the older. That is the way I am currently proceeding. The old nodelists are kept only for a month and after that time period, they are systematically deleted when creating a new archive (so the archive only contains the last four delists). I believe that I've accomplished everything that I set out to resolve and this issue is no longer a problem for me, but I appreciate your interest. I've recently installed AllFix to deal with the processing of incoming files. My biggest problem at this moment, seems to be making a determination where the incoming nodelist may be located AFTER AllFix has played with it. I know I can find my solution(s) by reading the documentation, tweaking AllFix, and making the appropriate modifications to the batch file. ;-)) G'Day ... Gerald --- GoldED/386 2.50 UNREG * Origin: 4DOS for one and 4DOS for all! (1:153/715.6) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5I00008 Date: 05/14/98 From: REX CLARK Time: 07:06pm \/To: GIORGIO FASCILLA (Read 1 times) Subj: chkdsk.exe Hello Giorgio Rex Clark and Giorgio Fascilla On Monday, 11 May 1998 chkdsk.exe GF> Hello Rex! RC>> Unpack chkdsk.exe GF> How? ... Do you meen Ms-DOS' s CHKDSK.EXE? It is NOT a GF> packed BTM file. it is a packed .EXE file "note the subject." GF> what is it? Xtree Gold... DOS's way of something Windows calls File manager or Explorer.. .+'''+. | R E X C | Rex Clark '+,,,+' | Thursday, 14 May 1998 --- Terminate 4.00/Pro * Origin: DESQview386 XtreeGold 4Dos QEdit (3:772/140.4) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00000 Date: 05/13/98 From: TED MENKS Time: 12:55pm \/To: JOHN HENTSCH (Read 1 times) Subj: Daylight savings time Hi John, (Tuesday May 12 1998 12:40) John Hentsch to Ted Menks about: Daylight savings time JH> 4DOS is at v6.01a on the CD. Well, then I guess it's ok for me to use the newest possible functions and/or features where applicable I've done as much as I could in the short time that has passed, and succeeded in shortening your routine by almost 30% (1318 bytes vs. your 1865 bytes !) I've discarded three temporary variables, making the thing work with less environment space. In addition I've found one or two locations where you used the wrong value for GTZ... Except for these minor corrections it should, effectively, still be fully compatible with your version, although it may run a tiny bit faster ;-) In case you'd like to try it out, and eventually replace your program with it completely, here comes nothing :) :: ************************************************************************** :setGTZ :: Check for day light savings time date/time range - set tStr=%@eval[8-%@dowi[4-7-%_year]] set daytmdate=%@doy[4-%tStr-%_year] gosub setGTZ1 echo Daylight Time JumpForward Date: Sunday, April %tStr, %_year. set tStr=%@eval[32-%@dowi[10-31-%_year]] set stdtmdate=%@doy[10-%tStr-%_year] gosub setGTZ1 echo Standard Time FallBack Date: Sunday, October %tStr, %_year. echo. set GTZ=UTC+7 set toDay=%@doy[%_date] iff %toDay gt %daytmdate .and. %toDay lt %stdtmdate then echo ...It's Daylight Savings time! elseiff %toDay eq %daytmdate then iff %@time[%_time] lt %@time[02:00:00] then echo ...It's still Standard Time! set GTZ=UTC+8 else echo Today is the first day of Daylight Savings Time! endiff elseiff %toDay eq %stdtmdate then iff %@time[%_time] lt %@time[02:00:00] then echo ...It's still Daylight Savings time! else echo Today is the first day of Standard Time! set GTZ=UTC+8 endiff else echo ...It's Standard Time! set GTZ=UTC+8 endiff echo. unset toDay Daytmdate Stdtmdate tStr return :setGTZ1 iff %@index[ 1 2 3 , %@instr[0,-1,0%tStr]] eq -1 then set tStr=%tStr%th elseiff %@instr[1,-1,0%tStr] eq 1 then set tStr=%tStr%th else set tStr=%tStr%%@word[%@instr[0,-1,0%tStr],nul st nd rd] endiff return :: ************************************************************************** I sincerely hope you like the result of my effort. Random greetings, Ted Menks 2:2449/236.51 / 2:284/412.51 PGPkey: 2048/1B2ACCED (by RRQ) ... If at first you don't succeed, have somebody else do it for you! --- 4Dos v6.01a --- * Origin: It's the 4Dos way! (Teddy's Land +49-5971-14966 (2:2449/236.51) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00001 Date: 05/14/98 From: TED MENKS Time: 12:11am \/To: JOHN HENTSCH (Read 1 times) Subj: DST-calculation revised Hi John, As you may have noticed in my last posting before this, I've played my %@dowi[] trick on you again... You'll now see that it wasn't the last trick in my book... :)) I told you in an earlier message that checking the hour seemed to me like a dreary job that only mattered for a meager four hours each year. Your routine supplied me with the proof: it was too much work for so little gain, although you made an elegant job of it, adding some different ECHO's for each of the test-outcomes ;-) But now the dime dropped, and the mechanism started working... Take an expression like ToDay=%@doy[%_date].%@right[2,0%_hour] The part before the decimal dot would represent the current day of the year, the part after the dot would be: 00 between midnight and 01:00 01 between 01:00 and 02:00 02 between 02:00 and 03:00 .. .. 23 between 23:00 and midnight After midnight, the hour returns to 00, but the day-of-the-year will be incremented by one, giving a higher result again... That's all the result of %@right[2,0%_hour] If we now simply add .02 to Daytmdate and Stdtmdate, we would then be able to test for DST with ONE single iff-then-else-endiff, like in the following batch: :: ******************* third version *********************** :setGTZ, third version by (TM) :: Check for day light savings time date/time range - set tStr=%@eval[8-%@dowi[4-7-%_year]] :: The following line gets the extra .02 added set Daytmdate=%@doy[4-%tStr-%_year].02 gosub setGTZ1 echo Daylight Time JumpForward Date: Sunday, April %tStr, %_year. set tStr=%@eval[32-%@dowi[10-31-%_year]] :: The following line also gets the extra .02 added set Stdtmdate=%@doy[10-%tStr-%_year].02 gosub setGTZ1 echo Standard Time FallBack Date: Sunday, October %tStr, %_year. echo. :: the following line gets the current hour (%_hour) added as a fraction. set toDay=%@doy[%_date].%@right[2,0%_hour] iff %toDay ge %Daytmdate .and. %toDay lt %Stdtmdate then echo ...It's Daylight Savings time! set GTZ=UTC+7 else echo ...It's Standard time! set GTZ=UTC+8 endiff echo. unset toDay Daytmdate Stdtmdate tStr return :setGTZ1 iff %@index[ 1 2 3 , %@instr[0,-1,0%tStr]] eq -1 then set tStr=%tStr%th elseiff %@instr[1,-1,0%tStr] eq 1 then set tStr=%tStr%th else set tStr=%tStr%%@word[%@instr[0,-1,0%tStr],nul st nd rd] endiff return :: *********** END *** third version *** END *************** Well, you see the result, huh? It's much shorter now. Only 887 bytes for the whole job. If we now strip the screen-output, we get a routine that's almost back to the size of my initial proposal, but with the added precision of checking the hour. Here's the example: :: ******************* fourth version ********************** :setGTZ, fourth version by (TM) set Daytm=%@doy[4-%@eval[8-%@dowi[4-7-%_year]]-4-%_year].02 set Stdtm=%@doy[10-%@eval[32-%@dowi[10-31-%_year]]-%_year].02 set toDay=%@doy[%_date].%@right[2,0%_hour] iff %toDay ge %Daytm .and. %toDay lt %Stdtm then set GTZ=UTC+7 else set GTZ=UTC+8 endiff unset toDay Daytm Stdtm return :: *********** END *** fourth version *** END ************** How 'bout that, pardner ? The truth, the whole truth and nothing but the truth in only 308 bytes ;-) Another two cents worth from me... See you in the next message, Ted Menks 2:2449/236.51 / 2:284/412.51 PGPkey: 2048/1B2ACCED (by RRQ) ... If at first you don't succeed, have somebody else do it for you! --- 4Dos v6.01a --- * Origin: It's the 4Dos way! (Teddy's Land +49-5971-14966 (2:2449/236.51) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00002 Date: 05/13/98 From: BARRY BLOCK Time: 11:33am \/To: TED MENKS (Read 1 times) Subj: parsing Hi Ted , TM> What is GREP? What is it part of, and where does one find it? File request fgrep*.* and xgrep*.* TM> *processing* the data A line may contain more than one parameter, TM> and some of the parameters may consist of several "words". TM> Assigning these parameters to a number of variables correctly is TM> the issue Do you have my fbbs.btm? It shows a way to process params in any order. It checks at least 9 of them. Regards, Barry Block --- Terminate 5.00/Pro * Origin: EBO-BBS 31-20-6002828 Amsterdam (2:280/901.42) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00003 Date: 05/13/98 From: CLAUS MUELLER Time: 09:48am \/To: RICHARD PEER (Read 1 times) Subj: Re^5: EXECUTION PREFERENCE Erstellt : Montag dem 11.05.98 Erhalten am 13.05.98 von : *Richard Peer@5:7106/22* an *Claus Mueller* Hallo Richard, CM>> RP> Not exactly 4Dos, but I use it and 4OS2 as well. CM>> So ypu run OS/2? Why? RP> OS/2 is a Graphical multitasker that runs rings aroud the MS offering. RP> The Dos machine runs IBM dos and 4Dos. I know it's fast, that's why I installed it a long time ago. I love the rexx part, but I hate its incompability. Had too much Original programs that wouldn't run with the warp 3.0 version I bought for DM 99,00 CM>> RP> I was in Muenchen for 3 years from mid '77 til mid '80. CM>> What for? RP> For the weird company that I used to work for. Don't ask what their RP> name is - it would be slanderous. Can't be that worse. CM>> RP> * Origin: Sysop "Novell User Group of SA" Pta, RSA (5:7106/22) CM>> So you have autum now? RP> Jawohl. Just tried to remember school. Haven't been south of the aequator myself. RP> ANd then comes winter very soon now. I know that part..... RP> But snow is very unusual except in the 'berg (Bergen auf deutsch). Which are how high? BTW: I think the idiom "Im Osten geht die Sonne auf nach Sueden nimmt sie ihren Lauf im Westen wird sie untergehen im Norden ist sie nie zu sehen" can't work at yours I guess. And thats a thing where even 4dos cant help. - mfg *Claus* - ... Democracy is where everyone gets what the majority deserves. --- Hugo Huddels Superbrowser 2.22 * Origin: A crowd grows proportional to your actions stupidit (2:2433/1204.32) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00004 Date: 05/13/98 From: CLAUS MUELLER Time: 09:51am \/To: RICHARD PEER (Read 1 times) Subj: Re^3: EXECUTION PREFERENCE Erstellt : Montag dem 11.05.98 Erhalten am 13.05.98 von : *Richard Peer@5:7106/22* an *Claus Mueller* Hallo Richard, CM>> RP>Underneath I use IBM Dos version 7, beats MS sideways. I still CM>> RP> replace CC with 4Dos and have since 4Dos v2.2. CM>> That is what I meant. CM>> Is there anything else as a command interpreter. RP> Nope. I have registered 4Dos and 4os2 and I like them both. Maybe I RP> must also look at the OS/2 version of the take command for the GUI, RP> but if I need a batch file, the OS/2 prompt with 4os2 works extremely RP> well. I'm registerd for 4dos and tc32, but though its a good produkt I use TC extremly seldom. You know I'm one of the guys that opens a dos window to do a copy instead of using drag and drop and mouse. Just because I'm used to it since 1982. - mfg *Claus* - ... The only place inflation is made in Canada, and that's Ottawa. --- Dominus wrote this! * Origin: A crowd grows proportional to your actions stupidit (2:2433/1204.32) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00005 Date: 05/13/98 From: CLAUS MUELLER Time: 09:53am \/To: TED MENKS (Read 1 times) Subj: Re: EXECUTION PREFERENCE Erstellt : Sonntag dem 10.05.98 Erhalten am 13.05.98 von : *Ted Menks@2:2449/236.51* an *Claus Mueller* Hallo Ted, TM>>> What happened on the third machine, and what kind of system was TM>>> running on it? My machines both run 4Dos 6.01a on a PC-DOS 7.0 TM>>> background. CM>> I really don't know it, but the problem has been cured with a CM>> reinstalling. TM> That still leaves your own question open. We need to find out why and TM> how the order was reversed on that third machine. A good idea might be the alias I used. When I tried it out I used a copy of V.Buergs list Program. (a com file) - mfg *Claus* - ... I refuse to have a battle of wits with an unarmed opponent. --- a Tearline - how boring * Origin: A crowd grows proportional to your actions stupidit (2:2433/1204.32) --------------- FIDO MESSAGE AREA==> TOPIC: 148 4 DOS Ref: F5J00006 Date: 05/13/98 From: CLAUS MUELLER Time: 09:55am \/To: OCTAVIO ALVAREZ PIZA (Read 1 times) Subj: Re: executable Erstellt : Samstag dem 09.05.98 Erhalten am 13.05.98 von : *Octavio Alvarez Piza@4:972/4* an *Jasen Betts* Hallo Octavio, OAP> then .BAT, then .BTM and then .DOC, for example. I don't know if OAP> there is a utility that does this...... Depends on wether You are using fat32 or fat 16. - mfg *Claus* - ... Invention is 99% perspiration, 1% inspiration. - Thomas Edison --- Why me? * Origin: A crowd grows proportional to your actions stupidit (2:2433/1204.32)