#Post Title #Post Title #Post Title

Open a file using notepad


Here is a simple trick to open any file or program with notepad.
Open notepad and type the following:
Start path of file
Then save the file as Shortcut.bat
Please note that the file type should be kept as ALL FILES while saving it as a .bat file.
Change path of file with your actual file path. For example if you have a file called run with an extension .exe in the folder TEST in C:\ drive, then your path should be something like this: C:\TEST\run.exe
If you want to open some complicated programs such as Firefox, then use this code:
START /d “path of folderprogram.extension
Change path of folder with the actual path of the folder, and put the name of the program with its extension. For example if you have a file called run with an extension of .exe in the folder TEST in C:\ drive, then your code should be something like this: START /d “C:\TEST” run.exe

Leave a Reply