Much appreciation goes out to those helping with this.
Well, I got the first recommendation to work. Unfortunately, having to enter the entire file name is not really time effective.
The 2nd recommendation did not work with dragging the file and dropping onto the ".bat" file
I did get the 2nd recommendation to work ONLY if I run the batch file, then I am able to drag & drop the file to be changed. Click on the cmd.exe window; Then Hit enter.
I removed the pause, and inserted a call command to loop it.
After I hit enter to remove the .tif, it loops back for the next file to be dragged & dropped.
Here is what I have at this point ...
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set fName=%1
if '%1' equ '' set /p fName=Enter file name:
for /f "tokens=* delims= " %%F in ('echo %fName%') do (
REN %%~nxF %%~nF
)
call RemoveFileExtension.bat
Is there a way to automate things more?
ideally, I would like to click on the .bat file, then it automatically finds the tiff files in the directory where the bat file is, changes the file names, and I am done. OR ... Do I have to keep feeding the files one at a time?
I must apologize for my lack of understanding here ... it has been more than 20+ years since I did this stuff, or even other forms of programming. Before finding this website, I have been at my wits end ... LOL