ning Posted September 20, 2005 Share Posted September 20, 2005 At work, I have several computers (an office PC, 2 lab PCs and a laptop) that I occasionally need to synchronise the odd file between - for example, Firefox bookmarks, Winamp plugins and even stuff actually related to work . These are often in the exact same folder structure on both PCs, and although they're all shared folders on the network (well, shared in the sense that only I can access them), it's a bit of a pain to navigate to, say, \\apws18\Programs\Program Files\Winamp\Plugins. I wanted one-click access - well, okay, I'd settle for five. So I created these two scripts.Mirror folder.au3: This copies one or more files specified on the command line to a mirror folder. Put a shortcut to it on your SendTo menu (C:\Documents and Settings\username\SendTo - it may be hidden). Right-click on a file, SendTo -> Mirror folder. Select the root folder of the destination and your files will be copied. It could probably do with a progress bar or something - anybody want to add that?Open mirror folder.au3: This just opens another Explorer window for the mirror folder, again specifying the local folder on the command line. Add a context-menu association for folders using regedit:HKEY_CLASSES_ROOT\Folder\shell\openmirror: default = "Open m&irror"HKEY_CLASSES_ROOT\Folder\shell\openmirror\command: default = "C:\Program Files\AutoIt3\AutoIt3.exe" "E:\Open mirror folder.au3" "%1""Right-click on a folder, click 'Open mirror', and again select the root folder of the mirror.It's also useful if you have, for example, a hard drive-based MP3 player (I have an Archos Gmini) that mounts as a drive, and you want to synchronise stuff in the folder structure of that and your computer's 'Music' folder.As usual, please reply with comments/questions/bugs!cheersbenMirror_folder.au3Open_mirror_folder.au3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now