home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,785 of 17,273   
   VanguardLH to J. P. Gilliver   
   Re: Reloading a changed a wordpad docume   
   27 Mar 24 20:00:09   
   
   XPost: alt.windows7.general   
   From: V@nguard.LH   
      
   "J. P. Gilliver"  wrote:   
      
   > In message  at Wed, 27 Mar 2024 07:22:01,   
   > VanguardLH  writes   
   >>Couldn't you use a batch script as a wrapper to your program?  In the   
   >>.bat file, run the program.  After it exits, use a 'ren' command to   
   >>change the extension from .rtf to .txt.   
   >>   
   >>   
   >>ren .rtf .txt   
   >>   
   >>Then when you double-click on the .txt file in Explorer, Notepad will   
   >>open.  The test I did showed Notepad will work how you want.   
   > []   
   > You're assuming his secret program runs, writes the .rtf file, then   
   > exits. Reading between the lines - which is all we can do, as he won't   
   > tell us what the prog. is! - I gather the mystery program writes the   
   > .rtf (closing it when it has done), then subsequently writes it - with   
   > the same name - _again_. Your "after it exits" assumes it _does_ exit.   
      
   Or that the program halts the batch script until it exits to then run   
   the next command.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca