When I use @FileCur it always returns a file name without path. But someone told me he has a name and path. What does @FileCur do on your computers?
Posted on 2002-09-03 20:55:11 by vkim
vkim, i've got it.

You compile with .bat in the same directory and pass to ml.exe only file name.
\masm32\bin\ml.exe /c /coff dbdemo.asm
This way @FileCur returns dbdemo.asm without path.

I run compiler from my IDE. Like most people do, i think.
But IDE has to pass full path to .asm as it can be at arbitrary location.
This way @FileCur returns with full path.

So, you have to strip path wherever you call @FileCur.
Posted on 2002-09-04 03:16:01 by Four-F