Take Ownership of a File or Folder by Command in Windows

Taking ownership of files in Windows is necessary to edit or delete system or program files that you have no access to by default. There are multiple ways to achieve that goal, like doing everything manually through the Properties menu, applying a registry tweak or, as described here, executing a command in the Command Prompt. ... Read more

Hide folders by making them system folders on Windows

One of the basic things one does while configuring a Windows system is to enable viewing hidden files. So basically it is impossible to hide files by making them "hidden". What helps against most nosy people though is to make a file a system file or folder - that way the tagged file will remain ... Read more

Timed Shutdown on Windows

You can time shutdown on your computer easily by creating a short VBScript that contains either only the shutdown command or shutdown command with an integrated second timer. If you do not add a timer, you can also use Windows' Scheduled Tasks function to have the computer shut down at a specific time. The VBScript ... Read more

Increase number of visible lines in cmd on Windows

Windows CMD Buffer Size

The Windows command-line only shows a history of 300 lines by default - this can be a nuisance especially if you are working with long list outputs. However, you can easily increase the number of lines that are shown. Open a cmd window, right-click the title bar, and select Properties. Go to the Layout tab and ... Read more

How to Delete a Folder Using Command Prompt of Windows

Delete Folder in Windows

To delete a folder using the command prompt of Windows, follow this procedure. Open a command prompt (Press the Windows icon key and R to open the run window). Type cmd and hit enter from the keyboard. On a command prompt, enter the following command and hit enter from the keyboard. Syntax rmdir /s <complete ... Read more

Unpack Compressed Files with WinRar

When working with your computer, you have probably come across files in .zip or .rar format. These are so-called packed or compressed files. Their function is to store multiple files and/or folders in a single file and compress them so that they are easier to send and waste less space. Windows has a built-in function ... Read more

“No space left on device” error on empty drives

When you try to copy files from your hard drive to an external device such as an external hard drive or USB stick, you may get an error message saying that there is no free space left on your device, even though you just deleted everything to make room. This is most likely due to ... Read more

How to Call Functions in Powershell (Windows)

Functions in Powershell are called without any comma or parenthesis, although they are defined using them. The correct way to call a function with two variable parameters would be: test $local1 $local2 The wrong way is: test($local1, $local2) If you put parentheses around your parameters, your input is treated as an array and thus the ... Read more