Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
URL: http://en.wikipedia.org/wiki/End-of-file
Description
At Windows Command Prompt:
... control-Z is used to signal an end-of-file when typing at a terminal, terminal emulator, MS-DOS command line, or Win32 console... On Windows it can also terminate the output from your current typing.
For example, to create a text file from DOS on Windows you would use:
C:\> COPY CON file.txt(Return)
The quick brownfox jumped...(Control+Z)
^Z
1 file(s) copied.
C:\>
Step 1: From DOS on Windows XP type the above command "COPY CON file.txt" and press return.
Step 2: Type some text and press Control+Z to terminate your text entry.
Step 3: You have now created a .txt file with what you typed.
Pressing Control+Z sends a end-of-file keyboard command, terminating the output from you and closing the text file you initated with the COPY CON statement.
Currently the CON command is also missing but the Control+Z command should be added first for consistency I think. Anyway just a request. I use it quite often when I'm creating batch files.
Attachments
Issue Links
- duplicates
-
CORE-2361 stdin from console does not trigger eof: CTRL-Z doesn't work
- Resolved