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

Mat Schaffer mat at schaffer.me
Fri Oct 15 11:17:13 EDT 2010


Have you tried C:\\Users\\rebecca\\.tmp.ck?

I'm guessing \ is an escape character, so \\ would be a literal backslash.
Just a guess though since I'm a Mac user.

-Mat

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/c077adca/attachment.htm>


More information about the chuck-users mailing list