comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Spaces in Mac file names
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Spaces in Mac file names [message #83993] Sat, 13 April 2013 10:30
kagoldberg is currently offline  kagoldberg
Messages: 26
Registered: November 2012
Junior Member
Regarding spaces in Mac file and directory names: I know this is an old topic, but is there a generally accepted method, or a library function in someone's IDL library, to take a file name as input and output ac copy with the spaces escaped properly with backslashes?

In other words, take
/this/directory/has spaces/youknow.txt
and output
/this/directory/has\ spaces/youknow.txt

I need this for a spawn command to work on arbitrary files. Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to add 5% possion noise for a image in IDL
Next Topic: Re: Spaces in Mac file names

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:27:01 PDT 2025

Total time taken to generate the page: 0.25404 seconds