Given this batch script - how do I isolate filename and extension, like in the output given:
@echo off
REM usage split.bat <filename>
set input_file="%1"
echo input file name is <filename> and extension is <extension>
c:\split.bat testfile.txt
input filename is testfile and extension is txt
That is - what's the correct syntax for <filename> and <extension>
in this code?