In regards to the snip below, which retrieves the path of the the launching object......

Dim CommandArgs() As String = Environment.GetCommandLineArgs
FilePath = CommandArgs(1)

I can I get it to show the regular file path? I don't want the dos thingy with the ~'s here and there.


I hope I have provided enough information in my question thanks