Home > Software engineering >  P processing master come in, file about P devcon run under Windows 7
P processing master come in, file about P devcon run under Windows 7

Time:10-23

I also don't know if in this section, if not please move to the required area spot bamboo to help, thank you,

If
Download Windows 7 64 - bit system is online 64 devcon exe file
Questions
Written in the book. The bat can't run, point to open, flash DOS box over, do not execute the command, this command can be executed under winxp, but run CMD, will command a separate copy, you can run, run separately, batch does not perform,



Is written like this:

@ echo off
Echo========================
Echo MAC Tools======Change
Echo===panxiang===
Echo===on July 14, 2012===
Echo========================

Echo is disable native network card
Devcon DEV_8168 disable * *

Echo is to enable the machine card
Echo friendship prompt: this operation for a long time, please be patient, script execution is completed, this window will automatically exit,
Devcon DEV_8168 enable * *

Goto the end




The friend answered, I will question posted:

@ echo off
The cancelled

Flash DOS box over
 ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄  ̄
In the final with pause

After the operation, a a command to look at, execution, execution, and see what is tip

D: \ \ Program Files \ (x86) to change the MAC address & gt; Devcon DEV_8168 disable * * & amp; & Pause
PCI \ VEN_10EC & amp; DEV_8168 & amp; SUBSYS_E0001458 & amp; REV_06\4 & amp; 83 b8e54 & amp; 0 & amp; 0030: Disable failed
No devices disabled.
Please press any key to continue...



Run separately, there is no problem, copy and paste into the CMD DOS

C: \ Users \ Administrator> Devcon DEV_8168 disable * *
PCI \ VEN_10EC & amp; DEV_8168 & amp; SUBSYS_E0001458 & amp; REV_06\4 & amp; 83 b8e54 & amp; 0 & amp; 0030: Disabled
1 device (s) disabled.

C: \ Users \ Administrator> Devcon DEV_8168 enable * *
PCI \ VEN_10EC & amp; DEV_8168 & amp; SUBSYS_E0001458 & amp; REV_06\4 & amp; 83 b8e54 & amp; 0 & amp; 0030: Enabled
1 device (s) enabled.

CodePudding user response:

No player to solve?

CodePudding user response:

Exe actually perform the system need to specify the absolute path to write a demo for you

CodePudding user response:

@ echo off

Rem program path

The set rar="C: \ Users \ Administrator> Devcon. Exe
"
Echo is disable native network card

% % rar DEV_8168 disable * *

CodePudding user response:

@ echo off

Rem program path

The set rar="C: \ Users \ Administrator \ devcon exe"

Echo is disable native network card

Rar % % DEV_8168 disable * *

CodePudding user response:

Disable and enable the equipment you can try to use the DLL realize I see,
http://download.csdn.net/detail/SupermanKing/3168818

CodePudding user response:

I also am this problem, under the XP..
But a CMD is with the operation of the SYSTEM, can't disable/enable network card..
But with the ADMINISTRATOR to run the normal..
To solve the..

CodePudding user response:

C: \ & gt; runas/?
RUNAS usage:

RUNAS [[/noprofile |/profile] [/env] [/savecred |/netonly]]
/user: & lt; UserName> The program

RUNAS [[/noprofile |/profile] [/env] [/savecred]]
[/user/smartcard: & lt; UserName>] The program

/noprofile specified should not load the user's profile,
This will accelerate the application load, but
May cause some abnormal application is running,
/profile specified should load the user's profile,
This is the default value,
/env to use current environment instead of user's environment,
/netonly only at the specified credentials are limited to a remote access to use,
/savecred users previously saved credentials,
Without this option on Windows XP Home Edition
This option is ignored,
/smartcard if the credential is a smart card, use this option,
/user & lt; UserName> Should use the @ DOMAIN or DOMAIN \ USER
The program EXE command line, please refer to the following example

For example:
Runas/noprofile/user: mymachine \ administrator CMD
Runas/profile/env/user: mydomain \ admin "MMC % windir % \ system32 \ dsa. The MSC"
Runas/env/user:[email protected] "notepad " my file. TXT \ ""

Note: only when prompted, enter the user's password,
Note: the USER @ DOMAIN with/netonly incompatible,
Note:/profile/netonly incompatibilities,
Note: with//savecred smartcard incompatible,
  • Related