Batch Script – Device Console

Configurare noua (How To)

Situatie

A batch script is a text file that includes various sequential commands. It is used to evaluate repetition routines in Windows,  OS/2, and DOS operating systems and is used in network and system administration. A batch file refers to a file that stores command in a serial order.

Solutie

Pasi de urmat

Syntax of DevCon command:

devcon [/m:\\computer] [/r] command [arguments]

DevCon status operation

It is used to find the status of all the devices on a local computer.

devcon status * > status.txt

DevCon DriverFiles operation

It helps in the listing of file names of drivers in the system devices.

devcon driverfiles * > driverfiles.txt

DevCon DriverFiles operation

DevCon Install operation

Given below command is used to install the devices on a local computer.

devcon /r install c:\windows\inf\keyboard.inf *PNP030b

DevCon Install operation

Enables all printer devices

It is used to specify the Printer setup class.

devcon /r enable = Printer

Re-scan

It is used to re-scan the computer for new devices.

devcon rescan

Tip solutie

Permanent

Voteaza

(4 din 9 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?