Function pPath2vPath(pPath)
        pPath2vPath= replace(pPath,server.mappath("/"),"\")
End function


vPath = pPath2vPath("d:\dir1\dir2\file.ext")


Robert Stocks
Web Developer
Noko internet business soultions 

-----Original Message-----
From: Van den Bossche Eric [mailto:E.VDB@;sherwineu.com] 
Sent: 11 November 2002 14:41
To: ActiveServerPages
Subject: physical 2 virtual path function


Hi all,

does anybody know how to cenvert physical paths to virtual paths ?
ex: d:\dir1\dir2\file.ext -----> wwwroot/files/file.ext

Greetings Eric - Italy
�

---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to