Use the command ‘Write‘ to open Wordpad application from command line. Normally one would assume that the command would be wordpad if it can be launched from command line. But in this case it is Write. No idea why is it so.
However, we can use either wordpad or write from Run window. We can specify file name as an argument to these commands.
you clearly don't remember Windows Write – Wordpad's more(!) primitive progenitor from 16-bit Windows
Try using the full path for wordpad:
“%ProgramFiles%\Windows NT\Accessories\wordpad.exe”
then type a and the path of the file u want to open. This worked for me on Windows 10.
Hope this helps.
Best Regards,
G
very helpful……….thankx
helpful tip.
Very helpful thanks lot
fsutil hardlink create “c:\windows\system32\wordpad.exe” “c:\windows\system32\write.exe”
I’m running Wordpad from within an app I’m developing. I create a .WRI file and then use the shellexecute API to open the file. Shellexecute in Win 10 only prints .DOC files (If Word is available). I’m looking for a list of command line options for wordpad so I can send then via Shellexecute to Wordpad. Any help?