"Hitesh" wrote:

> I get path strings from a DB like:
>
> \\serverName\C:\FolderName1\FolderName2\example.exe
>
> I am writing a script that can give me access to that exe file.
> But problem is that string is not universal path, I need to add C$.
> Any idea how I can add $ char in that string.
> ServerName is not fixed length. It could be any chars length.

upath = path.replace("C:", "C$")

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to