MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

file question

  • To: mathgroup at
  • Subject: [mg70620] file question
  • From: "dimitris" <dimmechan at>
  • Date: Sat, 21 Oct 2006 05:14:15 -0400 (EDT)


I have a simple question

Suppose the following

OutputStream["file1.dat", 6]

Do[WriteString["file1.dat", i, "    ", i^3, "\n"], {i, 1, 8}];

The created file is saved in the following directory

"C:\\Program Files\\Wolfram Research\\Mathematica\\5.2"

How can I save a file created in this way in another directory
e.g. in

"C:\\Documents and Settings\\All Users\\Application Data\\Mathematica"


  • Prev by Date: RE: Problem in loading packages in Mathematica
  • Next by Date: Re: making random matrix
  • Previous by thread: Re: correction
  • Next by thread: Re: file question