Hi,
Does anyone knows why this command doesn't work?
Run(@ComSpec & " /c " & "devcon.exe hwids * | findstr /R ""1050&PID_0114&REV_0340&MI_01"" || (rundll32.exe user32.dll, LockWorkStation)", "", "")
This is the command in commandline:
devcon.exe hwids * | findstr /R "1050&PID_0114&...