Re: Newbie Qn: Change Directory
- To: mathgroup at smc.vnet.net
- Subject: [mg105528] Re: [mg105505] Newbie Qn: Change Directory
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 6 Dec 2009 01:33:26 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200912051035.FAA08879@smc.vnet.net>
- Reply-to: murray at math.umass.edu
Nearly everything! First, from your use of the backslash as a path name separator, it seems you're running on Windows. Then the format to begin an absolute path is "d:\" and not "d\:". Second, the argument to SetDirectory should be a string. Third, the backslash character is interpreted as an escape, so either double it to indicate an actual backslash or, better yet, use the "universal" file-name separator /. Thus either of: SetDirectory["d:\\Jim Directory\\Mathematica"] SetDirectory["d:/Jim Directory/Mathematica"] Jimmy S. Lim wrote: > > I tried changing the new default directory by typing: > SetDirectory[d \ : Jim Directory\Mathematica] > > and its not working. What did i type wrong? Thanks. -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Newbie Qn: Change Directory
- From: "Jimmy S. Lim" <onward.pm@gmail.com>
- Newbie Qn: Change Directory