1.

Solve : DOS "&" special character?

Answer»

Hi, I am trying to do a script to run the devcon.exe command. The PROBLEM is that I need to use the character [glb]&[/glb] , because it is inside the HarwareID. When I write it in DOS, my system assumes I am typing another command...

EX: C:\>devcon find PCI\VEN_8086&DEV_24DD&SUBSYS_80A61043&REV_02\3&267A616A&0&EF

The result of this is the same as I was typed

C:\>devcon find PCI\VEN_8086

C:\>DEV_24DD

etc.

Please help!!!! Thanks!Give this a TRY:

devcon find "PCI\VEN_8086&DEV_24DD&SUBSYS_80A61043&REV_02\3&267A616A&0&EF"

If devcon is a command and find is a command, don't you need a pipe between them? ... just asking Thanks Sidewinder,

I don't know why I didn't think it... it's so simple...

About the devcon and the find, the only command is devcon and find is just an option!

Thanks again!



Discussion

No Comment Found