Re: Path to *.m file
- To: mathgroup at smc.vnet.net
- Subject: [mg86448] Re: [mg86373] Path to *.m file
- From: Carl Woll <carlw at wolfram.com>
- Date: Tue, 11 Mar 2008 03:01:48 -0500 (EST)
- References: <200803091007.FAA15259@smc.vnet.net>
Frank Scherbaum wrote: >Hi, >is there a way to obtain the full path to a *.m file from within that >same file under Mathematica 6? >Frank > >Frank Scherbaum >Institut f=FCr Geowissenschaften >Universit=E4t Potsdam >Karl-Liebknecht-Str. 24 >D-14476 Potsdam-Golm >Tel.: +49-331-977-5870/71 >Fax: +49-331-977-5700 >fs at geo.uni-potsdam.de >http://www.geo.uni-potsdam.de/Mitarbeiter/Scherbaum/scherbaum.html > > > > > I'm not sure why this is a `Private` variable, but this information can be found from: System`Private`$InputFileName Since it is undocumented, the name and functionality may change in a future version of Mathematica. Carl Woll Wolfram Research
- References:
- Path to *.m file
- From: Frank Scherbaum <Frank.Scherbaum@geo.uni-potsdam.de>
- Path to *.m file