Guest User

Untitled

a guest
Aug 11th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. how to enter multiple varibles into a single batch command
  2. dir c: /s /b /a | findstr /c:"my file" /c:"other" /c:"other 2" ...
  3.  
  4. for /R c: %i in ("my file" "other" "other2") do @echo %i
  5.  
  6. for %i in ("my file" "second file") do dir c: /s /b /a | find %i
Advertisement
Add Comment
Please, Sign In to add comment