Adding a Shell Menu entry for creating an extension-less file

Create a BAT file containing these 3 lines:
@echo off
set /p FileName="Enter File Name: "
echo.>"%~1\%FileName%"

Then:

  1. Drag and drop the folder in which you want the new file to be created onto the BAT file.
  2. Enter the file name where prompted in the command window.
  3. Press Enter.
1 Like