Hello,
I transferred a WINAPL workspace to Dyalog and so far everything has been running pretty well, except for one thing. I'm trying to open a file and it says the system can't find it even though the file is there. For example, if I execute
'C:\file.doc' ⎕NTIE ¯1
I get the error:
FILE NAME ERROR: Unable to open file ("The system cannot find the file specified")
Not sure why it can't find the file since it exists at C:\.
I am using Dyalog 16.0.30781.0 32 Unicode on Windows 7.
Thanks & Regards,
Lance
Unable to open file
-
- Posts: 439
- Joined: Wed Oct 01, 2008 9:39 am
Re: Unable to open file
Hi Lance,
C:\ is an odd directory and is protected by Windows 7.
Normally, I cannot create a file there.
Could you get some details from the APL expressions below and email me at Dyalog Support please?
We will discuss it by email, and I will update this forums thread with the conclusion once we have found something.
Regards,
Vince
C:\ is an odd directory and is protected by Windows 7.
Normally, I cannot create a file there.
Could you get some details from the APL expressions below and email me at Dyalog Support please?
⍝ After you get the error for this,
'C:\file.doc' ⎕NTIE ¯1
⍝What information does ⎕DMX contain?
⎕DMX.(⍪{⍵(⍎⍵)}¨⎕NL-2)
0 4 5 6 (⎕NINFO⍠1) 'c:\*.doc'
0 4 5 6 (⎕NINFO⍠1) 'C:\Users\YourNameHere\AppData\Local\VirtualStore\*.doc'
⍝ Obviously, please replace YourNameHere with your Windows username...
We will discuss it by email, and I will update this forums thread with the conclusion once we have found something.
Regards,
Vince
-
- Posts: 439
- Joined: Wed Oct 01, 2008 9:39 am
Re: Unable to open file
Conclusion:
Lance has contacted Dyalog Support. I asked some questions, and it turns out that the file is in a subdirectory of C:\ and is actually named file.doc.txt and the .txt was hidden by Windows Explorer.
Vince
Lance has contacted Dyalog Support. I asked some questions, and it turns out that the file is in a subdirectory of C:\ and is actually named file.doc.txt and the .txt was hidden by Windows Explorer.
Vince