topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 6:16 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: RobocopyScripter  (Read 7512 times)

noutters

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 32
    • View Profile
    • Donate to Member
RobocopyScripter
« on: November 16, 2006, 04:12 AM »
I have the following problem:
I have large files located in different directories that I want to copy/move to other directory/directories.
Today, i have to copy/move the files in the following sequential manner:
1a) Goto Dir1
1b) copy/cut file1
1c) Goto Dir2
1d) Paste file1
1e) WAIT UNTIL THE TRANSFER IS FINISHED  :(

2a) Goto Dir3
2b) copy/cut file2
2c) Goto Dir4
2d) Paste file2
2e) WAIT UNTIL THE TRANSFER IS FINISHED   >:(

etc...

I think you understand the frustration of waiting for each transfer to be finished to proceed to the next copy/move.

Now I have coded in AutoHotKey an application that takes care of the tedious task above.

http://img245.imageshack.us/img245/8375/screenshot2006111610353tn5.jpg
RobocopyScripter


This proggy requires robocopy.exe to be located in the script directory or your system common path. Robocopy.exe is part of the Windows Server 2003 Resource Kit Tools that can be downloaded at http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=9D467A69-57FF-4AE7-96EE-B18C4790CFFD
Robocopy is a very robust replacement for copy.exe. It has retries, bandwidth allocation routines and much more... and is designed for internet server operations from a DOS shell.

Use:

Drag and drop your dir+files in the list window

The clipboard monitoring options are really useful if you use XYPlorer as file browser:
-use Ctrl+P to send to the clipboard your selected dir + file paths (source monitoring). The whole list will be imported in the file/dir list
-use Ctrl+P to send to the clipboard your actual directory (target folder)

The tray icon proposes several options:
-always on top on/off
-exit when finished
-silent mode

May be I should add shutdown when finished?  :-\

The compiled script is located at http://www.autohotkey.net/~noutters/RoboCopyScripter.exe

Cheers,  :P


« Last Edit: March 15, 2008, 07:41 AM by noutters »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: RobocopyScripter
« Reply #1 on: November 16, 2006, 10:41 AM »
wow you're on fire today noutters.. i don't think i personally have a use for this but it sure does look cool..  you need to make a web page for your programs that has screenshots and stuff, don't you think?

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,961
    • View Profile
    • Donate to Member
Re: RobocopyScripter
« Reply #2 on: November 17, 2006, 02:50 AM »
(Lovely panorama too  :) )
Tom