Windows Command Line: Open WordPad with File
Question by Guest | 2013-07-01 at 23:55
I would like to open the application WordPad by using the command prompt (CMD) in Windows. If it is possible, I would like to pass the path to a file so that the file is directly opened in WordPad.
Unfortunately, the commands "wordpad" or "wpad" are not working and I only get a hint that the command is written in a wrong way or could not be found. On the other hand, when entering "notepad", the Windows Editor is opened. How can I do this with WordPad?
Related Topics
MySQL: Line Breaks in MySQL
Tip | 0 Comments
Windows Batch Script: Computer Shutdown
Tutorial | 2 Comments
Rewrite Text Files with a fixed Line Length
Tutorial | 0 Comments
Windows: How to make Hibernation available
Tutorial | 0 Comments
How to Replace multiple Texts at the same Time
Tutorial | 0 Comments
Lazarus: Open File or Document platform-independent
Tip | 0 Comments
Repair Text Files with mixed Line Breaks
Tutorial | 0 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.
The command to open WordPad is not "wordpad" or "wpad" - it is "write" - don't ask me why:
Entering "write C:\test.doc" opens the file test.doc in WordPad. When doing this, it doesn't matter from which directory you are calling "write", it is possible everywhere.
2013-07-04 at 12:49