Thanx Lonkero I'll change it, But that is not the main issue, How can I Enumerate remote Pc's files using DIR() function ?? If I can achive this task the rest I can do within no time.

Dir() is working fine in local but if I do it like DIR("\\server\shareddrive") it dosent work

I tried by mapping the drive too like DIR ("f:\") no use
_________________________
“I’ll not change you unless you don’t have intention to change yourself” --H:Quran