For a moment I thought your email only contained the word "yes" twice. ;-). What a relief to scroll down and find more text :-D Thanks for your reply, it worked out well using the "file types" tab (in the folder options screen), so no messing around in the registry was necesarry. Thanks again!
Martijn. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Lhoste Sent: zaterdag 17 september 2005 15:38 To: Discussion of the SciTE editor Subject: Re: [scite] Loading a filename containing spaces? Martijn Balink wrote: > I'm running SciTE version 1.65 on windows XP, and the following is happening > (not only to me, but also to my collegues): > I've associated several file types in windows to open with SciTe. I have > changed the "edit" option to launch (for example) VBS files with SciTE. > However, if the filename (or the folder it resides in) contains a space, the > file cannot be opened. Instead, SciTE presents a couple of tabs, with parts > of the filename and path. > Is this a known issue, Yes. > and does anyone have a workaround for this? Yes. Perhaps you would like to know how to do this? :-P The problem arises because SciTE can open several files at once, so it doesn't see a file with spaces in the name or path, like Notepad does, but a space separated list of (incorrect) file names... The simple and quite universal workaround is to enclise the filename in double quotes. I don't know how you did the association. I do it with hand edited .reg files. You can tweak the current associations either using the registry editor (if you know what you are doing...) or the file association manager, using the advanced edit button. You must enclose the %1 following SciTE.exe with double quotes: <full path>\SciTE.exe "%1" HTH. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
