first of all sorry for changing variables .
now let me explain you what i was doing
i find out the the parents of the test directory, which i found with the hlep of ur code.
After then i want to set some eviorment variables using this DIR(perent directory ) path.
and that variables value should be fixed till that command prompt is open or setup is runs again.
so finally The thing is done .
No more surprisess.
and thanks for that much support.