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 …

Setting up a local Oracle XE database and importing DMP file

The experience of setting up a local Oracle Express Edition database is not a straight-forward as it should be. The following is supposed to outline what could go wrong and how to go about it the right way. It also includes importing a DMP file (a dump) from another system.
First of all, download the installer from Oracle website. You will need to sign-in to download - the account creation is free. Be sure to choose the correct bit as per your computer (x64 or x86).Extract the download and install XE by running DISK1\setup.exe (and feel nostalgic of the floppy disk era). During installation, you will need to choose a new password. There will also be some details displayed after you enter the new password, such as folders and ports.Be sure to save both password and details in a text file for future reference.I saved it as C:\oraclexe\details.txt.Save password only if it's generic and you are likely to forget. The installation will take a while, but usually, no restart is necessary.O…