A / perhaps? Unix notatio, there are Unix/Linux modules for .NET out there
so it would be possible to run an ASP site on a linux-machine...
/ Peter
"Curt_C [MVP]" <software_AT_darkfalz.com> skrev i meddelandet
news:...
> huh? What else would it be if not a \
>
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "PeterB" <> wrote in message
> news:%...
>> Hello!
>>
>> I'm using the following method to retrieve the filname from a full server
>> path:
>>
>> <%
>> sub getfname(strPath)
>> Dim fName
>> fName = Mid(strPath,InStrRev(strPath,"\")+1)
>> 'fName = strPath
>> Response.Write( fName )
>> end sub
>> %>
>>
>> However this only works on Windows systems as it checks for backslash. Is
>> there a more generic way to do this, or should I check for both backslash
>> and slash in the path?
>>
>> thanks,
>>
>> Peter
>>
>
>