Robocopy live.sysinternals.com tools




















Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.

Learn more about bidirectional Unicode characters Show hidden characters. Sign up for free to join this conversation on GitHub. Already have an account? I think their intention was that you can map to it and run infrequently used tools directly from the mapped drive rather than needing to have them all local on your machine. The pushd command can be used to change directly to a UNC path, in which case it creates a drive map first before changing to it.

Then I run robocopy with the mirroring switch so new or updated files are copied from the mapped drive to my SysInternals folder, and any obsolete files that SysInternals have removed are deleted from my SysInternals folder. Finally I call popd, which restores the previous current drive and path and additionally unmaps the drive if the current directory is root of a mapped drive that was mapped by pushd. An added benefit of my method is that the UNC path folder only contains the actual EXE, CHM help files and any supporting files so there is no need to filter out the other files that you need to.

Unfortunately, I found the mapping of the external drive and execution of the robocopy command to be extremely slow. While I appreciate the elegance of only updating what is needed, I find I could download the who SI Suite archive and unpack it faster. Regardless, robocopy alone was worth the price of admission!

Never heard of it before, but I like it. SyncTools avoids many of the problems with the batch file approach.

A better tool: WSCC. Nothing to install — run it from a flash drive, and keep it in your recovery tool kit. Obviously, there are many ways to solve this problem. I wrote SyncTools in the spirit of Sysinternals. In other words, it works and feels like the other command line tools Mark Russinovich has released.

Steve Crane prefers a clever little batch file. John Robbins has a PowerShell script. I like SyncTools, and had fun writing it. Update functionality was the one thing missing from the SysInternals tools suite.

Looks like a useful program. I switched to my Win 7 machine where it works perfectly. Does exactly what it says on the tin! Thanks for a useful little utility. When I run SyncTools. Could it be the problem? Maybe related to the fact our corporate infrastructure is using a proxy to connect to the Internet? SyncTools will always download all the tools at least once.

After that, it will only download new or updated files. That was our guess after some experimentation. I personally prefer having the date the tool was updated by the Sysinternals guys rather than the date the tool was downloaded. What do you think?

However, I like your suggestion! So you can easily change the last-modified timestamps of the files you write to disk to match the live.

Good to see a tool that works out-of-the-box with our internet proxy server that requires authentication. SyncTools did download 82 out of 85 files, but I consistently get the following errors for the remaining 3.

I did try it a couple times the last few hours, but it fails every time:. Its also a good excersice! I used the following. Certainly there are a number of ways to download items from the Internet. Could you have the script update the OS environment variables path so when typing the system will automatically find the tools instead of remembering to type the full path? If you want a permanent change, you could use PowerShell to modify the path settings in the registry. If you need help with that, I recommend the forums at PowerShell.

A much better place to work on a problem than via blog comments. Skip to content.



0コメント

  • 1000 / 1000