Open a text file with cmd ms dos

Solved
Galerien77 -  
Arno11256 Posted messages 1 Status Membre -
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 réponses

Micha2b
 
In the cmd console, simply type

start notepad nomdufichier.txt

or just
notepad nomdufichier.txt


it will open Notepad for you.
55
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
RipR
 
thank you very much
0
Arno11256 Posted messages 1 Status Membre
 
Thank you very much :)
0