How to back up NIC settings with batch files

Updated on technology 2024-05-19
11 answers
  1. Anonymous users2024-02-11

    Open the "Notepad Program" ((or right-click on the blank space of the desktop "New "New "New Text Document" to create a new text document, and a "New Text File" will appear on the desktop to open it)) and then copy the netsh dump >d: to the open file window, then click on the "Menu Bar" to save as , after clicking a window will appear, change the file name to.

    Just save it.

    The build file is also like above. Then just put these two files under the d: drivers you said above.

    Two types: In fact, batch files are files in cmd or bat format, which can be created with Notepad. Just change the format of Notepad (txt) to cmd or bat.

    Just like above, open a folder, then click on the Tools folder option (0) in the menu bar > view, find 'Hide extensions of known file types' in the box below Advanced Settings and check the previous checkmark OK, so that the format of those files on the desktop will be displayed.

    Then right-click in the blank space of the desktop, "New", create a new text document, create two text documents, and then copy the above netsh dump >d: and nesh exec d: two sentences into these two files respectively, and save.

    Then rename the file name to the name and the name on the line.

  2. Anonymous users2024-02-10

    echo netsh dump ^>d:\>d:\drivers\echo nesh exec d:\>d:\drivers\start "" d:\drivers

    Save the ** above as ".

    Save Type: Select All Files.

    As for what batch processing is, see here.

  3. Anonymous users2024-02-09

    echo off&echo netsh dump ^>d:\>d:\drivers\

    Open it with Notepad and copy the ** above, and then save it as.

  4. Anonymous users2024-02-08

    netsh i i set add "Local connection"Staticrem is your IP and gateway is the gateway.

    Auto-get: netsh i i set add"Local connection" dhcp

  5. Anonymous users2024-02-07

    At each workstation, add a domain to start the batch, and then you can just change the batch and do whatever you want.

  6. Anonymous users2024-02-06

    It should be in a domain environment, and the script is executed when the client logs in to the domain.

  7. Anonymous users2024-02-05

    Example: How to copy and paste a network share folder with batch processing.

    How to batch copy and paste multiple folders (including folders and all the contents in them) from a shared (fully shared) folder on another computer in the LAN to my computer. The destination path is , and you want to copy and paste multiple folders inside. The paste requirement is e:

    Back up the newly created folder (named with the year, month, and day of the day, for example, 20130702), and then create a new folder 20130702 in the folder with the name of the replication department to store the copied content.

    For example, copy Marketing Department 13 (folder).

    Finance Department 21 (folder).

    Paste to my computere: Backup 20130702 Marketing Department 13 (folder)e: Backup 20130702 Finance Department 21 (folder) Copy and paste the content is 13 (folder).

    Solution: @echo offset d$= s$=e: backup set $1=marketing department 13set $2=finance department" requires no problem with connection sharing, e:

    Backups are built. **Line 2 and 5 can be changed according to the actual situation, and can be set to add multiple folders like line 4 and 5 for $3 — $n

  8. Anonymous users2024-02-04

    @echo off

    set d$=\\

    set s$=e: Backup.

    set $1=Marketing 13

    set $2=Finance Department 21

    cd/d "%s$%"

    md %sd% 2>nul&cd %sd%for /f "tokens=1* delims==" %%i in ('set $')do (

    xcopy /s/h/r/y/i "%d$%\j" ".\%j")

    Pause requires no problem with connection sharing, E: Backup is built. **Line 2 and 5 can be changed according to the actual situation, and can be set to add multiple folders like line 4 and 5 for $3 — $n

  9. Anonymous users2024-02-03

    1. Get the total number of files to be processed (dir + findstr).

    2. Set the length of the progress bar.

    3. For each file processed, the number of processed files is increased by 1 to get the percentage of progress, the length of the progress bar is obtained from the percentage of progress, and the progress bar is updated with echo or other commands, and information such as "number of files processed Chinese pieces" can also be displayed.

  10. Anonymous users2024-02-02

    The requirements are not very clear, try it with the following:

    echo off

    copy Shared folder name * d: back Save the above two lines as bat files, put them on the D drive, and then type at 12:00 every: on the command line

    m,t,w,th,f,s,su d: batch file name.

    In this way, at 12 noon every day, the system will automatically copy the files in the network shared folder to the local designated place.

  11. Anonymous users2024-02-01

    Batch processing can be done to count his cows.

Related questions
8 answers2024-05-19

echo off

taskkill /f /t /im >>>More

10 answers2024-05-19

attrib c: windows system32 +h, pay attention to the spaces. >>>More

7 answers2024-05-19

setlocal enabledelayedexpansionset p sid=Please enter the starting ID >>>More

3 answers2024-05-19

1. Create a new folder on the computer, create a new "txt" file, and name it. >>>More

6 answers2024-05-19

Batch processing is no problem.

But may I ask yours is named like that? >>>More