newbie question re: MS filenames

Roger Oberholtzer roger
Mon May 17 11:47:08 PDT 2004


On Mon, 5 May 2003 20:53:18 -0400
Kurt Wall <kwall at kurtwerks.com> wrote:

> An unnamed Administration source, Tony Alfrey, wrote:
> % This is a really dumb question that I'm embarrased to even ask.
> % I'm trying to run wine on .exe files on an Adobe Illustrator CD 
> % (Microsoft).
> % The microsoft file names have blank spaces in the filenames and 
> % directory names.  So I can't open the file or directory from the 
> % command line when I reproduce the file name with the space bar as a 
> % space.  But the files or directory opens from Konqueror with a mouse 
> % click.  So what character is really hiding in the "space"??
> 
> I don't know what Konqueror does but you can surround the file name 
> with quotes (thus, "name with spaces") or escape each space with
> a back slash (thus, name\ with\ spaces).

When you make a program icon or mime type in kde, you had better put the
name part in quotes. KDE passes the full name of a file, which includes all
directories. Even if your application can control/enforce file name
conventions, you will be fighting a loosing battle with all the directory
names. Once burned here...

-- 
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Erik Dahlbergsgatan 41-43  ?    Phone: Int + 46 8   314223 ?
? 115 34 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   302602 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list