Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal
- for /f "tokens=1,2" %%d in ('wmic logicaldisk get caption^, volumename ^| findstr "Rejepow"') do (
- if [%%d] == [F:] copy c:testmyphoto.jpg %%d
- )
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement