Unzip files (7-zip) via cmd command

Doing the following in a command prompt works for me, also adding to my User environment variables worked fine as well: set PATH=%PATH%;C:\Program Files\7-Zip\ echo %PATH% 7z You should see as output (or something similar – as this is on my laptop running Windows 7): C:\Users\Phillip>set PATH=%PATH%;C:\Program Files\7-Zip\ C:\Users\Phillip>echo %PATH% C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program … Read more

How do you run a command as an administrator from the Windows command line?

All you have to do is use the runas command to run your program as Administrator (with a caveat). runas /user:Administrator “cmdName parameters” In my case, this was runas /user:Administrator “cmd.exe /C %CD%\installer.cmd %CD%” Note that you must use Quotation marks, else the runas command will gobble up the switch option to cmd. Also note … Read more

How to install Visual Studio Code extensions from Command line

To make it easier to automate and configure VS Code, it is possible to list, install, and uninstall extensions from the command line. When identifying an extension, provide the full name of the form publisher.extension, for example donjayamanne.python. code –list-extensions code –install-extension ms-vscode.cpptools code –uninstall-extension ms-vscode.csharp Documentation

VMware Workstation and Device/Credential Guard are not compatible

There is a much better way to handle this issue. Rather than removing Hyper-V altogether, you just make alternate boot to temporarily disable it when you need to use VMWare. As shown here… http://www.hanselman.com/blog/SwitchEasilyBetweenVirtualBoxAndHyperVWithABCDEditBootEntryInWindows81.aspx C:\>bcdedit /copy {current} /d “No Hyper-V” The entry was successfully copied to {ff-23-113-824e-5c5144ea}. C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off The operation completed … Read more