Help. When launching an image file from Windows Explorer, Image J apparently does not know how to properly manage blanks in folder names or blanks in file name. Is there a command line prompt, configuration setting, or option that can be specified so that the blanks are ignored?
Thanks, Rick Simmons |
Rick Simmons wrote: > Help. When launching an image file from Windows Explorer, Image J apparently does not know how to properly manage blanks in folder names or blanks in file name. Is there a command line prompt, configuration setting, or option that can be specified so that the blanks are ignored? > > Thanks, > Rick Simmons > Rick, I believe you can use drag-n'-drop to open files in ImageJ, blanks or no blanks (though, in general, having blanks in file/directory names is a certainly a bad idea). -- *Boris Epstein National Resource For Imaging Mass Spectrometry <http://www.nrims.hms.harvard.edu/> Cambridge, MA Mobile: (617) 816-9654* The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. |
In reply to this post by Rick Simmons
Hi Rick,
do you refer to file names passed via the command line? If so, did you try to put them between quotes? Do you refer to macros? In ImageJ Macros, put square brackets around arguments that contain spaces. e.g. run("Raw...", "open=[C:\Documents and Settings\user3\img.raw] image=[32-bit Unsigned] width=100 height=100 offset=0 number=1 gap=0"); Michael ________________________________________________________________ On 15 Apr 2010, at 17:40, Rick Simmons wrote: > Help. When launching an image file from Windows Explorer, Image J > apparently does not know how to properly manage blanks in folder > names or blanks in file name. Is there a command line prompt, > configuration setting, or option that can be specified so that the > blanks are ignored? > > Thanks, > Rick Simmons |
Thanks for responding.
Basically, what I would like to be able to do is to double click on an image file (in windows explorer) and have ImageJ launch and automatically load the image. This works fine as long as the image file name contains no blanks and the path to the folder containing the file contains no blanks. Any blanks in either of these locations result in a series of error messages when ImageJ trys to load the file. The error messages indicate that ImageJ is splitting the path/filename up by the blanks present therein. Rick -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Michael Schmid Sent: Thursday, April 15, 2010 11:38 AM To: [hidden email] Subject: Re: blanks in folder names or file names hose up launch of ImageJ Hi Rick, do you refer to file names passed via the command line? If so, did you try to put them between quotes? Do you refer to macros? In ImageJ Macros, put square brackets around arguments that contain spaces. e.g. run("Raw...", "open=[C:\Documents and Settings\user3\img.raw] image=[32-bit Unsigned] width=100 height=100 offset=0 number=1 gap=0"); Michael ________________________________________________________________ On 15 Apr 2010, at 17:40, Rick Simmons wrote: > Help. When launching an image file from Windows Explorer, Image J > apparently does not know how to properly manage blanks in folder > names or blanks in file name. Is there a command line prompt, > configuration setting, or option that can be specified so that the > blanks are ignored? > > Thanks, > Rick Simmons --------------------------------------------------------------------------------------------------------- This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited. All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware". Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying this e-mail or any attachment. --------------------------------------------------------------------------------------------------------- |
Free forum by Nabble | Edit this page |