On 2/11/00 7:00 pm, Scott Rossi <[EMAIL PROTECTED]> wrote:
> Being still clueless in certain areas relating to Windows OS, can I ask (in
> my own idiot way) what difference is, if any, between calling paths using
> forward slashes or backslashes? Might backslashes be a convention of DOS?
>
> During my experience with MC, most of the advice I've been given is to
> structure paths with forward slashes, but now that I was informed about the
> tempName function, I notice its result is formatted with backslashes.
>
> Is either method better to use in any particular circumstance?
All built in MC operations, e.g. setting the directory, saving files,
reading from files, URLs, etc. use / on all platforms. The only time you
need to do a conversion is if you are writting to open process,
queryRegistry or shell() on Windows systems, because the path is actually
being supplied as text to the operating system and therefore must be \.
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.