Does it need to detect any laptop vs desktop, or is it just your one laptop vs your one desktop? If you only care about specific ones (as Mike suggested) you might use the built in variable A_ComputerName.
I have 2 DELL laptops and 1 desktop. I read that a precise way to differentiate the 2 laptops is by using its UUID, which is obtained by cmd command wmic csproduct get uuid. I often have to reinstall windows so ComputerName is not reliable. How do I put all this in a script where if it UUID matches certain DELL laptop, run this command, if the other, run some other command ?
Statistics: Posted by yabab33299 — Today, 15:14