[Zope] Re: Using ZopeEDIT with Notepad?

Wolfgang Strobl ws@gmd.de
Tue, 21 Mar 2000 11:12:14 +0100


On 20 Mar 00, 14:35  JB wrote:

> The '%s' gets replaced by a temporary file name, it definitly needs to
> be there. I know nothing about notepad.exe, but it sounds like notepad
> can't accept filename arguments on the command line. 

It can, since ca. 1984. :-)

>I can't verify
> this however. I know people are using ZopeEDIT in Win?? so it must be
> something with notepad.
> 
> cheers
> jb
> 
> Paul Browning wrote:
> > 
> > OK, so it's not my favourite editor but I thought I'd
> > try Notepad with ZopeEDIT for the hell of it.
> > 
> > Can anyone tell me what I should set EDITOR_CMD to?
> > 
> > 'C:\WINNT\system32\notepad.exe' and 'C:\WINNT\system32\notepad.exe
> > %s' don't do the job. (What's the %s for anyway?)

Try %1, instead.  %1, %2 etc stand for a commands first, second 
... positional parameter in the MSDOS/Windows/Windows NT 
universe.


--
      o      (     Wolfgang.Strobl@gmd.de (+49 2241) 14-2394
     /\        *   GMD mbH                       #include 
   _`\ `_<===      Schloss Birlinghoven,         <std.disclaimer>
__(_)/_(_)___.-._  53754 Sankt Augustin, Germany ________________