2 deleted 58 characters in body
source | link

C#, 8080 63 bytes

string f(string s)s=>{var a=s[sc=s[s.Length-1];return1];retu‌​rn a=='.c<'/'?" "+s:s+(a=='c>'/'?"\\":"s+"/");:s+"\\‌​";}

i tried many naive ways but only this seems to work..

C#, 80 bytes

string f(string s){var a=s[s.Length-1];return a=='.'?" "+s:s+(a=='/'?"\\":"/");}

i tried many naive ways but only this seems to work..

C#, 80 63 bytes

s=>{var c=s[s.Length-1];retu‌​rn c<'/'?" "+s:c>'/'?s+"/":s+"\\‌​";}
1
source | link

C#, 80 bytes

string f(string s){var a=s[s.Length-1];return a=='.'?" "+s:s+(a=='/'?"\\":"/");}

i tried many naive ways but only this seems to work..