Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

How to check if a file exists?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47514] How to check if a file exists?
  • From: Thomas Guignard <thomas.guignard at epfl.ch>
  • Date: Thu, 15 Apr 2004 03:39:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi

I have little experience in Mathematica and I have trouble getting used 
to the Mathematica way of thinking.

I'm looking for a way to check if a given file exists. If it exists, I 
load its contents, if not I have to start a block of calculations.

I just can't find the function to check the existence of a file!

Thanks
Tom

-- 
Thomas Guignard
Laboratory of Electromagnetics and Acoustics
Swiss Federal Institute of Technology, Lausanne


  • Prev by Date: Re: number of switches
  • Next by Date: Re: number of switches
  • Previous by thread: Obtaining standard errors using FindMinimum ???
  • Next by thread: Re: How to check if a file exists?