CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Wordpad, how write launches it???

    How Windows NT implements Wordpad launching?
    If I write Wordpad.exe from dos-prompt it is not found but if I write
    Write.exe wordpad is executed.

    There is also 10 kb write.exe file in Windows directories but not
    any wordpad.exe.

    How this mapping is done?

    Any ideas...





  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Wordpad, how write launches it???

    Interesting question!
    only guessing (partly):
    wordpad.exe is located in c:\program files\windows nt\accessories\wordpad.exe (>200K)
    If you want to start THAT from the command line, modify your PATH.
    since write.exe is only 10 K, I guess it simply launches wordpad.exe and passes the commandline parameters to it.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured