CODE: [Copy to clipboard]@echo off wmic ENVIRONMENT create name="mywin",username="<system>",VariableValue="C:\sdfh\fajfa" echo %mywin%