經安全檢測,此網站為安全網站,請放心前往原始網址!

if statement - If Computer Name Contains - Stack Overflow

I need to create a batch file that moves computer name object in Active Directory only if computer name contains some string, like: If %computername% contains "LAP" ( dsmove ... set check_computername=%computername:LAP=% if "%check_computername ...

stackoverflow.com

網址安全性掃描由 google 提供