Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. If NOT "%1%"=="foo" (echo %bar% Text. >> "%USERPROFILE%DesktopLog File.txt")
  2.  
  3. ) was unexpected at this time.
  4.  
  5. C:> If NOT "ARGUMENTBARUSERPROFILEDesktopLog File.txt")
  6.  
  7. If NOT... (
  8. echo...
  9. )
  10.  
  11. @echo on
  12. setlocal enableDelayedExpansion
  13. SET bar=test
  14. If NOT "%1%"=="foo" (echo %bar% Text. >> "%USERPROFILE%DesktopLog File.txt")
  15.  
  16. If NOT "%1"=="foo" (echo %bar% Text. >> "%USERPROFILE%DesktopLog File.txt")
  17.  
  18. If NOT "%1%"=="foo" (echo %bar% Text. >> "%USERPROFILE%DesktopLog File.txt")
  19. /---------------/ -----------/ ---------------------- ...?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement