Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. @echo off
  2. set w=0
  3. set x=0
  4. set y=0
  5. set z=0
  6. set origen=C:\Users\Javier\Desktop\Proyectos\Growmara.com\Imagenes\p
  7. set destino=C:\Users\Javier\Desktop\Proyectos\Growmara.com\Imagenes\Productos
  8.  
  9. FOR /L %%z IN (0,1,9) DO (
  10.     MOVE %origen%\%%z\??.jpg %destino%
  11.         FOR /L %%y IN (0,1,9) DO (
  12.             MOVE %origen%\%%z\%%y\??.jpg %destino%
  13.                 FOR /L %%x IN (0,1,9) DO (
  14.                     MOVE %origen%\%%z\%%y\%%x\???.jpg %destino%
  15.                         FOR /L %%w IN (0,1,9) DO (
  16.                             MOVE %origen%\%%z\%%y\%%x\%%w\????.jpg %destino%
  17.                             )
  18.                 )
  19.         )
  20. )
  21.  
  22. echo Archivos copiados correctamente.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement