Collections:
Other Resources:
Use CON to Enter Data to File
How to use CON file name to enter data to a file quickly? I don't want to use any editors.
✍: FYIcenter.com
Since CON is a special file name referring to the console
including keyboard, you can use it with the "copy" command
to enter data to a file.
For example, if you want to create small batch file called "random.bat" with one line of command, you can try the following:
C:\fyicenter>copy con random.bat
@echo %random%
^Z
1 file(s) copied.
Note that Ctrl-Z was pressed to terminate the input from keyboard.
Now you can the "random.bat" batch file to generate random numbers:
C:\fyicenter>random.bat 11799 C:\fyicenter>random 4390 C:\fyicenter>random 31390
⇒ Use CON to Display Data on Screen
2021-04-02, ∼3764🔥, 0💬
Popular Posts:
A collection of 24 tutorials on removing Windows startup programs to gain performance and reduce sec...
Using Columnar as the layout for a form as shown in the previous tutorial is good to enter new recor...
Have a windows 8 computer and need to download the Visual C++ Redistributable for visual studio 2012...
What is "Visual Studio Standard Collector Service 150" in my Windows 7 service list? And how is "Vis...
How to connect your computer to a wireless router? Here are the steps of how to connect your compute...