Skip to main content

RoboCop[y] at your service

Back in the days of Windows 98, I used to use Xcopy and Xcopy32 to copy files at the Command Prompt. The built-in simple copy command was not as powerful and customizable as Xcopy.

A few minutes ago, I tried these commands in Vista's command prompt, due to a DVD drive problem that lets me read the disc contents via the Command Prompt, but not through Windows Explorer.

Xcopy32 no longer exists, but Xcopy does. As I was looking through the /? help page of Xcopy, a certain line in the beginning said:

NOTE: Xcopy is now deprecated, please use Robocopy.

Wow, something new. RoboCopy? Ok let's try that... robocopy /?

Almost two and a half screens of help appeared! There are a lot more options than Xcopy, and the options are neatly arranged in groups. Certain options that are new and interesting include controlling what details about the file are copied (dates, permissions, etc.), excluding certain files or folders from the copy and copying directory structure (not files).

I gave RoboCopy a try and was impressed by the detailed information that was provided. during the copy. A summary of copy options is given, then each file is shown with a percentage indication. Folder paths are never repeated, thus the table is very clean and neat. Created folders are also mentioned.

After the copy operation, a conclusive summary is also shown, giving the statistics of the operation, such as files that were skipped or gave errors, and time required. It finally ends with the speed of the operation, given both in bytes/sec and MB/min

Microsoft says RoboCopy is Robust File Copy for Windows. Maybe RoboCopy is what lies behind the new move/copy system of Vista that shows detailed information. Will you please confirm this for me?


Popular posts from this blog

Disable auto save in JetBrains IDE software (IntelliJ IDEA, PyCharm, PhpStorm)

JetBrains provides the following IDE software:
IntelliJ IDEAPhpStormPyCharmRubyMineWebStormAppCodeCLion Google also provides Android Studio which is powered by the IntelliJ platform.

If you come from a different IDE such as Eclipse, you will be unpleasantly surprised to find that JetBrains-branded IDEs automatically save everything the moment you look away. The proponents argue that as you work on your project, you should not have to worry about saving files. But to others, this auto-save behavior which is enabled by default is a curse that catches them by surprise, and a shocking departure from the workflow they are very much used to.

You can change the behavior by altering some settings.

Stop having to click Unblock on every downloaded file

CAUTION: The blocking of downloaded files in Windows is a security and safety feature to help prevent your computer from being infected by viruses and other malware. Only disable this feature if you know what you're doing.

I had been plagued by this annoyance since the days of Windows Vista. Any downloaded file, no matter what browser I use, gets tagged as "blocked" by Windows. You can open downloaded documents even though they are blocked, but when you run a downloaded application (such as a setup file) you're presented with a "Security Warning" before you're allowed to run it. It's worse if you extract a downloaded ZIP file with the Windows' built-in ZIP management. Every extracted file is blocked by default.

Being a geek who finds unnecessary "security" prompts annoying, the first thing I do in Windows is to disable the User Account Control (UAC). But I couldn't quite figure out how to disable blocking of downloaded files until …

How to change default and internal currency in self-hosted Odoo or OpenERP

If you wish to use Odoo in a single-currency environment, you will find issues changing the currency in the Odoo interface itself. If you have a self-hosted solution of Odoo or OpenERP, you already have unprecedented control over the system, unlike the cloud-based solution from Odoo. This means that you can very easily fix the issue by hacking the database that Odoo is relying on. Even in a multi-currency environment, you can use the same trick to change the global default currency - the fix is very clean for any environment - there is just an extra step to update the currency rate settings.

Even in the latest version of Odoo, we still face the ridiculous bug that Odoo internally ALWAYS uses EUR (Euro) as the internal currency. This has created many problems for many users wanting to use a different currency. Despite being set to a different currency from the Odoo interface, the eCommerce site, reports, accounting, etc are still shown using EUR and the Euro symbol, creating confusion…