Product Compare › Forums › Multi-Edit › Support › How to handle files without an extension in Vcs Package…? › Reply To: How to handle files without an extension in Vcs Package…?
In the GetDotExt() macro, the CMAC variable ‘File_Name’ is refereneced:
[code:3p8fajkf] str Ext = Get_Extension(File_Name); [/code:3p8fajkf]
The variable ‘File_Name’ is supposed to return the name of the file being edited in the current window, but I am seeing the value as “?No-File?”, so you will never get an extension from this scenario.
In looking at the code, I see a global variable called ‘vcsFName’. Change the occurance of ‘File_Name’ to ‘vcsFName’, and add the following at the top of the file:
This seems to work for me, but you will want to test/verify for yourself.