Re: small init.m problem
- To: mathgroup at smc.vnet.net
- Subject: [mg84517] Re: [mg84514] small init.m problem
- From: "David Bakin" <davidbak at gmail.com>
- Date: Tue, 1 Jan 2008 03:27:45 -0500 (EST)
- References: <200801010218.VAA08168@smc.vnet.net>
This is one of those bugs you get because your lying eyes gloss over the obvious and fill in what you think should be there. You need a double-backslash between "Backup" and "Mma" - just like you have between the "c:" and "Backup". (Yipee!!! FINALLY a Mathematica question on this list I can answer!) -- David On 12/31/07, Jerry <JLK2941 at yahoo.com> wrote: > > I'm using V6.01 under XP. > > In order to get Mathematica to find files in by backup directory, I > put the following in an init.m file in Docs and > Settings\MyUserName\Application Data\Mathematica\Kernal : > > SetDirectory["c:\\Backup\Mma"] > > It seems to work nicely (it finds my files and outputs files > into this directory by default) but every time I run a > notebook I get the following in a Messages window: > > Syntax::stresc: Unknown string escape \M. > > It doesn't seem to hurt anything and I've been ignoring it > for months -- but just for info, can someone please tell me > what I'm doing wrong? Thanks. > >