Search found 1 match
- 30 Oct 2009 08:17
- Forum: DOS Batch Forum
- Topic: For /f Need help
- Replies: 1
- Views: 3480
For /f Need help
I have @ECHO OFF for /f "skip=2 delims=" %%a in (' reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server" ') do ( for /f "skip=4 tokens=2,* delims= " %%b in (' 2^>nul reg query "%%a" /v "InstalledInstances" ') do &...