I'm trying to set right-click file options in Windows XP. I'm applying a conversion program to convert DGN files to DXF. The command I have is...
"C:\Program Files\FME\fme.exe" GENTRANS IGDS "%1" ACAD "%1".dxf
It works, but it converts "abcd.dgn" to "abcd.dgn.dxf" - whereas I simply want "abcd.dxf"
From what I saw on this site I thought the %~n1 option would get rid of the ".dgn" part, eg "%~n1".dxf - but all I get is an output file called (you guessed it) %~n1.dxf
Am I using the %~n1 option incorrectly, or is there another way to achieve this? Any help appreciated.