Adding a char inside path string

Hitesh hitesh287 at gmail.com
Wed Aug 16 10:15:00 EDT 2006


Hi,

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.

Thank you,
hj




More information about the Python-list mailing list