Can anyone please write the ULP code to strip the path and the
extension from the board name (B.name)? I need to generate the very
first and the last line of the G-code as:
%filename G71*
so I need the filename without the path and the extension.
e.g. if the B.name is:
c:\some_folder\test.brd
I need just 'test' to be able to generate:
%test G71*
--
Chupo