Absolute path

Reiner Pope reiner.pope at REMOVE.THIS.gmail.com
Sat Aug 19 06:06:42 PDT 2006

Hi there,

I can't find any function which will convert a file path from relative 
to absolute. C# and Java both have one: Path.GetAbsolutePath or 
something similar.

Is there one?

Do you think this is a good enough solution?

char[] toabs(char[] filepath)
out (c)
	assert (isabs(c));
	return (join(getcwd(), filepath));



More information about the Digitalmars-d-learn mailing list