wow.. thank to all of u guys...

@dee-u: thnx for ur reply sir,, ah so it means i cannot use that as a constant?

@westconn1: thnx u sir,, yup i am aware of that..hehehe

@Hack:i am using VB6 sir,,i just trying to make that as constant but i think i cant.

@RhinoBull: nope the "C:\sample.txt" may be there but its hidden, thats why i use Dir to check sir..hehe

@dee-u: thank u sir,, its clear to me now..hehehe