webnovel

morro dos scans

dos reads lines of text. How to read the specified number of lines in the text in batch processing?
1 answer
2024-09-09 19:06
Reading a text in DOS usually required the path and file name of the text file to be read. In batch processing, you can use a batch script file to read a file with a specified number of lines. For example, if you want to read a text file named "filetxe" and read a specified number of lines from it, you can use the following code: ``` @echo off REM stores the file path and line count in a variable set file_path=C:\Users\user\Documents\filetxt set line_count=10 REM reads the file and prints the number of lines Echo reads line number:$line_count echo REM prints the lines to the console. echo %file_path% : %line_count% lines goto end ``` In this code, the file path and the number of lines are stored in a variable and then the "echo" command is used to output the number of lines. Then, he used the "goto" command to jump the code block to the "end" tag, indicating that he had finished reading the text file with the specified number of lines. It should be noted that the value of the variable in the batch script file is executed immediately, so the "echo %file_path% : %line_count% line" command will immediately output the number of lines read. If you want to wait for the script to finish executing before you can output the number of lines, you can use the "for" command to loop through the file and use the "echo" command to output the number of lines. For example: ``` for /r %file_path% %line_count% do echo %file_path% : %line_count% line ``` This code uses the "for" command to read the specified number of lines from the specified file path and uses the "echo" command to output the number of lines.
Yes, how can I repeat this kind of recommendation query? Is there a novel about a person hiding in a basement to avoid alien scans and finding out that the city has been occupied by aliens after coming out?
1 answer
2024-09-12 23:47
The recommended novel "Beyond Ten Thousand Worlds" was about a young man who returned to the countryside to farm. There was a plot where he accidentally escaped the alien's scan and survived, but when he came out, the entire city had been occupied by aliens. I hope you like my recommendation. Muah ~
Can you recommend a time-travel novel? It's about the protagonist on a stormy day. He finds that the lightning outside the window looks like a QR code, so he scans it with his phone and finally time-travels?
1 answer
2024-09-03 13:12
😋I recommend Doraemon, I want you to help me practice. The main character of the novel, Zou Yi, scanned a lightning QR code named "Thunder". As A result, he was brought to a different world of cultivation and met Doraemon! If you like transmigration and cultivation novels, and you like Doraemon, this novel will suit your taste. I hope you like my recommendation, Mwah ~😗
Why can't I find my novel on Fragrance in Red Sleeves for several days? The chapters have already been reviewed for 5 chapters.
1 answer
2024-09-20 11:39
If a novel published on Fragrance in Red Sleeves couldn't be searched for several days, it might be because the novel hadn't been published on the website yet. To publish...
The author of the classical tragedy, Autumn in the Han Palace, is
1 answer
2024-09-20 11:39
The author of the classic tragedy Autumn in Han Palace was Feng Menglong, a writer of the Ming Dynasty. The novel was set in the late Han Dynasty and described...
Can you recommend some good novels about transmigration or cross-dressing?
1 answer
2024-09-20 11:38
😋I recommend the following novel to you: 1. "The Villain in the Book is Always Attacking Me"-The female protagonist, Fan Nanfeng, transmigrated to become the subordinate of the villain in...
Please recommend some good novels, thank you.
1 answer
2024-09-20 11:38
😋I recommend the following novels to you, they are all of different types ~ 1. [Bai San Ye's Little Ancestor: Sweet pet.] It was a story where the female protagonist...
I've read this novel before, but I don't know its name.
1 answer
2024-09-20 11:38
I don't think it'll necessarily satisfy your needs, but I'll try my best to recommend a novel that's most relevant to your description. I Know Everything is a novel about...
If he didn't make a profit by recording the novel, did he need to get the author's copyright?
1 answer
2024-09-20 11:38
If the recording of a novel was not profitable, the author's copyright was usually not required. According to the copyright law, an author enjoyed the copyright of his own work,...
This is the first time I've come into contact with this thing. He didn't know anything. How do I register my author name? How could he publish his novel in Hong Xiu? I'll only understand if you explain it in detail…
1 answer
2024-09-20 11:38
Author Name: 1 Open the website and click on the "register" button at the top of the page. 2. Fill in the relevant information on the registration page, including pen...
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z