Re: Newbie Qn: Change Directory
- To: mathgroup at smc.vnet.net
- Subject: [mg105513] Re: [mg105505] Newbie Qn: Change Directory
- From: "Jimmy S. Lim" <onward.pm at gmail.com>
- Date: Sun, 6 Dec 2009 01:30:33 -0500 (EST)
- References: <200912051035.FAA08879@smc.vnet.net>
Thanks everyone for your assistance and suggestions! On Sat, Dec 5, 2009 at 7:35 PM, Murray Eisenberg <murray at math.umass.edu>wrote: > 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 > -- cheers! Jim
- References:
- Newbie Qn: Change Directory
- From: "Jimmy S. Lim" <onward.pm@gmail.com>
- Newbie Qn: Change Directory