Open a text file with cmd ms dos

Solved
Galerien77 -  
Arno11256 Posted messages 1 Status Member -
Hello,
I can’t launch a text file with MS DOS.
For an exe: I type in MS DOS: C:\a.exe and it runs.
But it doesn’t work for a text file.
I tried C:\> C:\a.txt and all the variations, it doesn’t work either.
Thank you for your help
Configuration: Windows XP Internet Explorer 7.0

7 answers

  1. Micha2b
     
    In the cmd console, simply type

    start notepad nomdufichier.txt

    or just
    notepad nomdufichier.txt


    it will open Notepad for you.
    55
    1. Morpion
       
      Bieux subject but it ranks well on Google so I'm responding, Micha2b was right, the complete version is:

      start notepad file_name.txt
      0
    2. RipR
       
      thank you very much
      0
    3. Arno11256 Posted messages 1 Status Member
       
      Thank you very much :)
      0