I suggest to do it this way because you can choose which file you want to open.
@echo off
:start
set /p open=What file would you like to open:
if exist C:\Desktop\notepad\"%open%" goto next
if not exist C:\Desktop\notepad\"%open%" goto fail
:next
cls
start C:\Desktop\notepad\"%open%"
goto start
:fail
cls
msg * File not found :( .
goto start
I'm not sure if that will work or not. Someone correct me.