but it is in DOS-format!!!!!! ???? !!!!!!!
(C:\progra~1\micros~1\file~1.cra)
why?
the richtextbox isn't able to handle this type of filename...
how to convert?
Printable View
but it is in DOS-format!!!!!! ???? !!!!!!!
(C:\progra~1\micros~1\file~1.cra)
why?
the richtextbox isn't able to handle this type of filename...
how to convert?
tell us how you got it?
and we'll see if we can help. :)
ok...
first i added a new file type and an action
open "c:\myprogramms\editor\editor.exe" "%1"
then, in vb, i added file = command()
the original filename was "C:\programs\file1.cra"
the file-string in vb contained "C:\progra~1\file1~1.cra"
API:
Public Declare Function GetFullPathName Lib "kernel32" Alias "GetFullPathNameA" (ByVal lpFileName As String, ByVal nBufferLength As Long, ByVal lpBuffer As String, ByVal lpFilePart As String) As Long