Use CON to Display Data on Screen


How to use CON file name to display data on the screen?



Since CON is a special file name referring to the console including screen, you can use it display data on the screen.

You can use the "copy * con" to act like the "type *" command:

C:\fyicenter>copy random.bat con
@echo %random%
        1 file(s) copied.


File Name and File Path

⇒⇒Windows Batch File Tutorials

2017-12-05, 110👍, 0💬