Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. @echo off
  2. setlocal
  3. for /f "tokens=1,2" %%d in ('wmic logicaldisk get caption^, volumename ^| findstr "Rejepow"') do (
  4. if [%%d] == [F:] copy c:testmyphoto.jpg %%d
  5. )
  6. endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement