Batch: Open a specific file in a specific program?

batch-file, windows

Solution

You can add the direct path to the executable like

start C:\Windows\System32\write.exe [FILE]

Problem

How do i tell windows to open C:\test\test.txt in WordPad, when Notepad is my default program for .txt files?

Original source