Chapter 116: Batch processing is a good thing
"Zhang Chu, is there any way you can easily switch the network environment on your laptop? I've been annoyed by this thing lately. ”
After talking to Lao Li on the phone, Zhang Chu turned on the computer and was about to look at the information of the surveillance video sent by Xiao Gong to him, when Yang Ming's phone came.
"Switching network environments?
Zhang Chu was a little curious after hearing this, there are not many laptops with wireless network cards at this time, they are basically wired interfaces, this seems to be no need to switch the network environment, just get it automatically.
"Our company's network is all fixed IP, and the same is true for several high-level ones. It's just that they now have a different laptop and have to go on a business trip. If you fix the IP address, you can't automatically get the IP address to connect to other people's networks. ”
After listening to this, Yang Ming explained to Zhang Chu that there was no problem with the fixed IP management method of using a desktop computer before, because the computer could not be carried around on a business trip.
But now after changing the laptop, it can't be done, the company has to fix the IP address, and the business trip has to be replaced with automatic acquisition, which must be set by yourself.
But several senior executives of the company obviously didn't have the patience to study this, so they asked Yang Ming to think of a way to figure out if he could come up with a simple way to change these.
"In this way, this is not very difficult, just batch the whole process. Then put it on the table, and let your leaders click it twice. ”
Zhang Chu thought about it after hearing this, it seems that there is really no small program that takes into account this aspect of the setting at this time, so just write a simple batch command.
"Batch processing? haven't studied this much, will you get it?"
Yang Ming over there was obviously not very familiar with this, otherwise he wouldn't have asked Zhang Chu for advice. It's good to do it yourself, after all, he is now the network administrator.
"Well, batch processing is a good thing, it's no problem to get that. I can make one for you, but you'll have to change it yourself. ”
After hearing this, Zhang Chu replied that he was indeed familiar with batch processing. Because batch commands he really likes, simple, convenient, and doesn't take up any resources.
AFTER OPENING THE WINDOWS SYSTEM CASUALLY, YOU CAN EDIT THE BATCH COMMAND OPERATION DIRECTLY WITH NOTEPAD, OR WHAT IS SIMPLER THAN THIS.
The scheduled shutdown that was set for Mr. Zhou before, now the network configuration switch on Yangming's side, from fixed IP to automatic IP acquisition, to LAN sharing, etc., can be done with batch processing.
When various antivirus software does not come out to clean up the system junk, batch commands to clean the system junk are also a good choice.
For people like Zhang Chu who often play batch processing, he is indeed full of all kinds of love for batch processing, and it is also very easy to use.
"Our company uses a proxy service to access the extranet, can this be set up?"
After listening to Zhang Chu's words, Yang Ming asked rhetorically, setting an IP address is one thing, but it is also necessary to set up a proxy server to surf the Internet, which is a little complicated.
"Oh, you're using a proxy service to surf the Internet? I'll write you the batch statement, and you can change the changes to your side later. ”
Zhang Chu only paused slightly after hearing this, and then gave Yang Ming a satisfactory reply. That's fine, batch processing can do the trick.
After hanging up Yang Ming's phone, Zhang Chu immediately wrote a batch code, and then sent it to the guy on Q. Yang Ming can get on Q when he goes to work, after all, he is a network administrator, and he still has this right.
Zhang Chu gave him the code he only needed to copy into the notepad, and then fill in the things he needed, save it as a bat format file, click it when you use it, and the network environment will be automatically changed.
"Is batching so magical?"
Ma Xiaoyan on the side happened to come over to find Zhang Chu, and asked curiously after listening to Zhang Chu's words.
"Of course, when you used to learn computers, didn't you use this the most?"
Zhang Chu was a little curious, the earliest application of batch processing was in the DOS system. After the plague died, it was not so widely used.
Ma Xiaoyan is a few years older than him, and when they first came into contact with computers, they should have used the DOS system, so it felt as if she was not very familiar with DOS.
"No, except for the DOS system that we came into contact with at the beginning, our courses still keep up with the times, and we rarely use batch processing these things. ”
Ma Xiaoyan shook her head and replied that she had never studied computer science when she was in high school, and she only came into contact with it after college, and at that time she had begun to slowly eliminate DOS.
"That's a bit of a pity, but it's really easy to use batch processing, and it's not a good way to get started. As long as you know those commands, it's easy to apply. ”
"In the XP era, there were a lot of places where this thing could be used. But this kind of thing will be slowly eliminated in the future, and there is really nothing worth learning. ”
In the future, various applications are mainly simple and convenient, except for the previous few systems, you can also see traces of batch processing activity, and then these will be slowly eliminated.
"We've learned a few things about batch processing before, and it's all as a hobby. I think it's especially interesting to modify some things in batches, and then add some of your own names and small things to show off. ”
Su Lin, who was next to him, replied with a smile after listening to Zhang Chu's words, he had played with this thing when he was in college. The most common is to set up some options, and then add a maker XXX to show off in front of some female classmates who don't understand this.
When the batch process is beautiful, it looks similar to the mini program, and some buttons can be set to select further operations to add some interactive interest.
Zhang Chu also did this kind of thing often when he first came into contact with it, and he also used a notepad to write a hello word to make htm format to play, these Zhang Chu has done it.
Especially when FLASH first came out, it was really fun or rewarding to learn that software to make some small animations by yourself.
In many cases, hobbies can really motivate people. Zhang Chu is not a person who likes to study and study, but it is because of these hobbies that he is pulled on this piece step by step.
Then I got in touch with the system, I needed to modify the fields in SQL, and then I slowly got in touch with the C language, JAVE, and NET, and slowly moved from the hardware to the program development.
In the middle of this process, all his interests and hobbies supported him to ponder, and he didn't learn anything systematically at all. The programming part was implemented later, and I learned it from others.
For Zhang Chu in his previous life, he didn't think deeply about knowing what these things were for, he was just a pure hobby, and he had no other ideas.
But later, before he was reborn, he became the network administrator of that company, and all these things were used, so that Zhang Chu knew that these things would not be useless.
The company's servers, websites, and systems, as well as computer hardware, monitoring, and program-controlled telephones, require all knowledge of hardware and software.
Zhang Chu happened to know a few things, so he took office very easily. In the end, he succeeded in getting the boss to lay off his assistant, leaving him with a bare-bones commander in charge of these.
However, he manages hundreds of computers by himself, and he still has time to go to work and read novels, and it is really not difficult for him to think about those things.
Sometimes I think about it, his emotional intelligence is really a little worse. I was too capable, and I didn't get a raise, but I let the boss put a burden on me, which is really.