top of page

Auto Re-size Pictures

 

 

TITLE Auto-shrink Pictures

ECHO OFF

CLS

ECHO Press any button to automatically shrink pictures to a more managable size.

PAUSE

 

CD C:\Users\cmartin\Desktop

MD "largePictures" "smallPictures"

CLS

ECHO Two new directories should have been made on the desktop.

PAUSE

 

XCOPY C:\Users\cmartin\Desktop\*.jpg C:\Users\cmartin\Desktop\largePictures

 

START "" /wait "C:\Program Files (x86)\PIXresizer\PIXresizer.exe"

CLS

ECHO PIXresizer window is now be open.  Select the desktop folder "largePictures" as the input and "smallPictures" as the output.  Click "Save Pictures" and "Exit" to continue.

PAUSE

 

MOVE C:\Users\cmartin\Desktop\smallPictures\* F:\Maintenance\Pictures

CLS

ECHO Files moved from smallPictures folder to the Maintenance folder.

PAUSE

 

RD C:\Users\cmartin\Desktop\smallPictures

DEL C:\Users\cmartin\Desktop\largePictures\*.jpg

RD C:\Users\cmartin\Desktop\largePictures

DEL C:\Users\cmartin\Desktop\*.jpg

CLS

ECHO Created directories should be removed.

PAUSE

 

EXIT

bottom of page