[chuck-users] Windows, drives, and Machine.add

Laurie Hollander catbird451 at gmail.com
Fri Oct 15 11:43:52 EDT 2010


Another guess, based on what my programs look like when I run SAS on a PC.
Where you're using a forward slash, I use a back slash. For example:
"m:\sample\705615\input\file1.txt"

all single slashes.

Good luck.  Best, Laurie

On Fri, Oct 15, 2010 at 10:05 AM, Rebecca Fiebrink
<fiebrink at princeton.edu>wrote:

> Have any ChucK windows users figured out how to accomplish Machine.add with
> a fully-qualified path name that includes the drive letter?
>
> Machine.add("C:/Users/rebecca/tmp.ck") results in error
> "[C]: no such file or directory"
>
> and Machine.add("C\:/Users/rebecca/tmp.ck") results in error
> [tmp2.ck]:line(2): unrecognized escape sequence '\:'
>
> I know you can leave off the C: entirely and it will work, but my concern
> is the situation where different files to be added live on different drives.
> Thoughts?
>
> Thanks!
> Rebecca
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20101015/2c80c1ad/attachment.html>


More information about the chuck-users mailing list