Thank you Mr.Thoen, Writing the %p in the working directory solves it all.
Kind regards, __________________________________ Philippe Solomon Côté Consultant [EMAIL PROTECTED] __________________________________ -----Message d'origine----- De : Bill Thoen [mailto:[EMAIL PROTECTED] Envoyé : 14 juin 2005 08:52 À : Solomon Côté, Philippe Cc : MapInfo-L Objet : Re: MI-L RE : MI-L Setting up UltraEdit With Win2K, in the 'Command Line' prompt I use: "C:\Program Files\MapInfo\MI_Compile.bat" "%n" and in the 'Working Directory' prompt I have: %p If you have a space in a path name, you need the quotes. However, you can also use the old DOS short file names to avoid the spaces. In that case, you could use: C:\PROGRA~1\MAPINFO\MI_COM~1.BAT "%n" Differnet versions of UltraEdit seem to handle this problem differently. I suspect the problem is with UE's shell method, but if you play around with the various possibilities you'll eventually find a combination that works. - Bill Thoen On Tue, 14 Jun 2005, "Solomon Côté, Philippe" wrote: > Thanks for your reply Mr. Møller, > > I have edited my command line but the problem persists. > Any other ideas would be appreciated. > > Are the quotes ("") required in the command line? > Should I select a specific working directory? > I saw different types of batch file on the list. > Which one is the best? > > Thanks. > __________________________________ > Philippe Solomon Côté > > Consultant > [EMAIL PROTECTED] > __________________________________ > > -----Message d'origine----- > De : Peter Horsbøll Møller [mailto:[EMAIL PROTECTED] > Envoyé : 13 juin 2005 17:20 > À : Solomon Côté, Philippe; MapInfo-L@lists.directionsmag.com > Objet : RE: MI-L Setting up UltraEdit > > You are doing missing the point I guess - or should I say the backslash ;-) > > This is what you have written as the command line in UltraEdit: > D:Program FilesMapInfoMI_Compile.bat" "%p%n" > > I guess it should be like this: > "D:\Program Files\MapInfo\MBX_Compiler.bat" "%p%n" > > or at least it should be the name and path of the bat file that you say you > have created in the MapBasic directory > > HTH, > Peter Horsbøll Møller > GIS Developer, MTM > Geographical Information & IT > > COWI A/S > Odensevej 95 > DK-5260 Odense S. > Denmark > > Tel +45 6311 4900 > Direct +45 6311 4908 > Mob +45 5156 1045 > Fax +45 6311 4949 > E-mail [EMAIL PROTECTED] > http://www.cowi.dk/gis > > > -----Original Message----- > From: "Solomon Côté, Philippe" [mailto:[EMAIL PROTECTED] > Sent: Monday, June 13, 2005 10:50 PM > To: MapInfo-L@lists.directionsmag.com > Subject: MI-L Setting up UltraEdit > > > Hi listers, > > I'm trying to get rid of MapBasic as code editor so I'm now testing > UltraEdit. As I read in old threads, I created a batch file (MBX_comiler.bat) > in the MapBasic.EXE directory: > > @Echo off > start/wait MAPBASIC.EXE -NOSPLASH -D %1.mb > if exist %1.err type %1.err > > After, I wrote this command in the command line: > D:Program FilesMapInfoMI_Compile.bat" "%p%n" > > I left the working directory blank, uncheck "Check if Windows Program", check > "Save all files first", and check "Output to List box" and "Capture Output". > > When I try to complile a .MB, I get this message: > > 'D:Program' is not recognized as an internal or external command, operable > program or batch file. > > What am I doing wrong? > > I'm using Win XP SP2 with MapBasic 7.0 and UltraEdit-32. > > Thanks for your help. > > Kind regards, > __________________________________ > > Philippe Solomon Côté > MSc Geography > Consultant > [EMAIL PROTECTED] > > KOREM inc. > www.korem.com > > MapInfo Québec, opéré par KOREM inc. > www.mapinfo.qc.ca > __________________________________ > > 680, boul. Charest Est, bureau 120 > Québec (Québec) G1K 3J4 > Canada > Tél. : (418) 647-1555 > Téléc. : (418) 647-1666 > Sans frais : 1 888 440-1MAP > Localisation : Québec Montréal __________________________________ > > > --------------------------------------------------------------------- > List hosting provided by Directions Magazine | www.directionsmag.com | To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Message number: 16796 > > > > --------------------------------------------------------------------- > List hosting provided by Directions Magazine | www.directionsmag.com | > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Message number: 16802 > > --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16804