Let's start over it has nothing to due with the file. It's the file name
thats the problem. I wote a short test program to demenstrate the problem.
It shows that if the file name has a path it causes the exception. i.e:
(prompt)dir
Volume in drive C is OS
Volume Serial Number is E221-AB60
On 04/18/2013 04:25 PM, rbt...@digitalpath.net wrote:
Let's start over it has nothing to due with the file. It's the file name
thats the problem.
Let's start with the obvious. :)
Directory of c:\d\projects\equipment
std.exception.ErrnoException@std\stdio.d(289): Cannot open file
On Wednesday, 17 April 2013 at 01:41:58 UTC,
rbt...@paradiseca.com wrote:
File efile;
writefln(command line %s, args[]);
if(args.length == 3) {
type = to!int( args[1] );
// writefln(args[2] is: %s,args[2]);
}
if (args.length == 2) {
efile = File(args[2]);
I had made so many changes truing to solve the problem that I included a
older version. another problem is that with the file name: efile =
File(l:\\filepro\\mvmammach\\key) with no space before the drive letter
the silently quits with no error but as you can see efile name is just a hex
On 04/17/2013 02:57 PM, rbt...@digitalpath.net wrote:
I had made so many changes truing to solve the problem that I included a
older version. another problem is that with the file name: efile =
File(l:\\filepro\\mvmammach\\key) with no space before the drive letter
the silently quits with no
Is it really defile that gets printed up there, or is that another
typo? I highly recommend that you provide a complete program for us to try.
spell checker got away from me.
This time it seems to be complaining about a space *after* the file
name! (?)
makes no difference.
I have a vague
On 04/17/2013 04:48 PM, rbt...@digitalpath.net wrote:
I said:
That doesn't look right: char is a UTF-8 code unit. Unless you are sure
that the file contains UTF-8, I recommend you use something else, e.g.
ubyte.
You said:
It' a pure ascii file.
That means that every byte value in the
I wrote a program and had it working fine, Then made a change so I could
change the file name from the command line. Now the progrram refuses to
open the file.
File efile;
writefln(command line %s, args[]);
if(args.length == 3) {
type = to!int( args[1