InterviewSolution
Saved Bookmarks
| 1. |
Solve : Please help with batch file problem? |
|
Answer» Hi, FOR /F "tokens=*" %%R IN ('md5sums -u c:\windows\system32\drivers\tcpip.sys') DO SET curver=%%R I think it must be something to do with the IF PART. Welcome to the CH forums. Try this (UNTESTED): IF "%curver%" equ "%ver18000%" (GOTO gotmatch) ELSE GOTO nomatchYou don't really need an ELSE IF [test] goto true echo test failed! goto end :true echo test passed! :end WHat are you trying to do and y r u putting quotationmarks around VARIABLES? Why are you resurrecting the dead? Check the post dates... |
|