Skip to content

Instantly share code, notes, and snippets.

@thiagotpc
Created October 21, 2015 18:39
Show Gist options
  • Save thiagotpc/30b34f0c618d0e285adc to your computer and use it in GitHub Desktop.
Save thiagotpc/30b34f0c618d0e285adc to your computer and use it in GitHub Desktop.
Envia os arquivos selecionados para uma nova pasta.
Adiciona uma opção para **Criar Nova Pasta** dentro da opção SendTo (Enviar Para) do menu de contexto do Windows.
Criar o arquivo.bat dentro de **shell:sendto**
Original em: http://forums.whirlpool.net.au/archive/860022
@echo off
set /p novapasta= "Nome para nova pasta: "
mkdir "%novapasta%"
set newpath="%novapasta%"
:again
if {%1}=={} goto :EOF
move %1 %newpath%
shift
goto again
Echo on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment