:trim rem --- Set variable and remove any surrounding quotes set _string=%~1 rem --- Remove whitespace at left for /F "tokens=*" %%s in ("%_string%") do set _trimmed=%%s rem --- Remove whitespace at right echo [%_trimmed%] goto :eof
|What is hoipcy.exe||11||32|
|Windows 2012 KMS Server Trial Key||5||211|
|I have a batch file from here that checked if the folder existed and renamed it. Can someone help||6||81|
|OPINIONS please : best Active Directory Monitoring tool||5||118|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
26 Experts available now in Live!