PC Filenames
- To: MathGroup at yoda.physics.unc.edu
- Subject: PC Filenames
- From: reiszig at e-technik.tu-dresden.dbp.de
- Date: Mon, 29 Mar 1993 11:59:57 +0200
Hi, I am working with Mma 2.1 on PC (Win 3.1) and have some problems with OpenWrite[...]: MMa seems to be unable to decide, wether 2 different strings lead to different filenames or not. Example: In[1]:= OpenWrite["Mathematica.txt"]; In[2]:= OPenWrite["Mathematica.txt"] Out[2]= $Failed (* correct *) In[3]:= OpenWrite["Mathematic.txt] Out[3]= OutputStream[.....] (* not really correct, because both opened streams are in fact identical *) One could write a simple Mma function which solves that problem for PC's by truncating and "UpCaseing" all filenames. But, is there a simpler way to decide, wether 2 strings lead to different files on the system one is currently working? I mean a way not using my knowledge about the filenames conventions of my computer. Thanks for Your comments! Gunther Reiszig reiszig at e-technik.tu-dresden.dbp.de