I would like to read a data file that is located in "My Documents" folder using the open command, but maple cannot find the file.
The file name is data1.txt and I think the complete folder name is
c:\Documents and Settings\dhalpern\My Documents
I have tried
INP := fopen("C:\Documents and Settings\dhalpern\My Documents\data1.txt",READ,TEXT);
but I get the following error message.
Error, (in fopen) file or directory does not exist
I have checked that the file and directory DO exist.
If I place the data file in c:\ then I don't have any problems but I would prefer to have my files in My Documents.
Any suggestions would be greatly appreciated.