Re: re: Medit Bug
- Posted by mistertrik at hotmail.com Apr 20, 2003
- 405 views
hmm, methinks Topica has some issues hmm, methinks Topica has some issues hmm, methinks Topica has some issues =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D .______<-------------------\__ / _____<--------------------__|=3D=3D=3D ||_ <-------------------/ \__| Mr Trick >From: mistertrik at hotmail.com >Reply-To: EUforum at topica.com >To: EUforum <EUforum at topica.com> >Subject: Re: re: Medit Bug >Date: Mon, 21 Apr 2003 01:02:30 +1000 > > >resorted to naming my files with no spaces. :) > > >Hehe... yeah, so did I... > >Thing is, the problem is not due to long filenames, but just to how DOS= =20 >(an=3D >d=3D20 >bash, for that matter) handle arguments to a program. > >A space is always taken as a separator between arguments, so if you do=20 >this=3D >:=3D20 >./myprog c:\My Documents\myfile.txt > >Then myprog sees two arguments: >"c:\My" and "Documents\myfile.txt" > >However, you can put quotes around any text with spaces in it, and the=20 >shel=3D >l=3D20 >will interpret it as a single argument. That's all the change did. > >P.S. When associating files with programs in windows, eg associating .exw= =3D >=3D20 >files with exw.exe, the action taken upon 'Open' is best written like=20 >this:=3D > >c:\euphoria\bin\exw.exe "%1" >The system automatically replaces %1 with your file name, so the inverted= =3D >=3D20 >commas surrounding it ensure that the file name is correctly passed to the= =3D >=3D20 >interpreter as a single argument. >My 0.03 >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D >=3D3D=3D3D=3D3D=3D3D=3D3D >.______<-------------------\__ >/ _____<--------------------__|=3D3D=3D3D=3D3D >||_ <-------------------/ >\__| Mr Trick > > > >From: Greg Haberek <g.haberek at comcast.net> > >Reply-To: EUforum at topica.com > >To: EUforum <EUforum at topica.com> > >Subject: Re: re: Medit Bug > >Date: Sun, 20 Apr 2003 02:42:12 -0400 > > > >resorted to naming my files with no spaces. :) > > > > > >----- Original Message ----- > >From: mistertrik at hotmail.com > >Date: Sunday, April 20, 2003 1:15 am > >Subject: re: Medit Bug > > > > > > > > You need to replace this line: > > > exe &=3D3D " " & path & name (Line 1993, in Editor.exw) > > > with this: > > > exe &=3D3D " \"" & path & name & "\"" > > > > > > So that the system will see this when you run a file: > > > ex.exe "c:\euphoria\dir with spaces\test file.exw" > > > > > > It will also allow you to run files that actually have a space in > > > the name, > > > not just in the path. > > > > > > hehe, hope that helps. > > > =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D > > > .______<-------------------\__ > > > / _____<--------------------__|=3D3D=3D3D=3D3D > > > ||_ <-------------------/ > > > \__| Mr Trick > > > > > > > > > TOPICA - Start your own email discussion group. FREE! > > > > > > > >TOPICA - Start your own email discussion group. FREE! >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D >=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3= D=3D3D=3D3D=3D3D > > > > > > >TOPICA - Start your own email discussion group. FREE! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >