Removing Files and Folders via Script

From time to time I need to remove files and/or folders from computers at work.  I don’t remember where I got this script but I thought I would share as it has worked wonders for me.

@echo off
IF EXIST “C:\Users\” PUSHD “C:\Users\”

FOR /F “tokens=*” %%G in (‘dir /a:d-s-h /b’) do (
IF EXIST “%%G\AppData\Roaming\FOLDER/FILE” rmdir /q /s “%%G\AppData\Roaming\FOLDER/FILE”
)
POPD

Basically, you just need to replace the path with whatever it is you intend to remove and then save it as a .bat file.

Sid Meier’s Civilization: Beyond Earth Trailer

I just saw the trailer for Sid Meier’s Civilization: Beyond Earth.  Although the trailer does not show any actual gameplay I am excited for the concept.  I am looking forward to this and Star Citizen!

I wonder if this game will be like a much more in-depth Homeworld?  I guess we will just have to wait for gameplay videos to get released.

Enable POP in Outlook.com

Back when Outlook.com first came out I signed up for an account as many people did.  I did this mainly to reserve the name I wanted but I never really used it.  Well, today I decided I would setup the Outlook.com account in Gmail so I could check it and use it for other stuff I didn’t want to use my main email for.

When I went to add the Outlook.com address to Gmail I got the following message: Server denied POP3 access for the given username and password.

So this brings us to the main point of this article.  How to enable POP in Outlook.com so you can sync it with other mail clients.

  1. Log into Outlook.com
  2. On the top right-click the cog/wheel and select Options
  3. Under Managing your account, select Connect devices and apps with POP
  4. Under POP select Enable, you will get 2 options after that where Outlook will either allow messages to be deleted or move them to POP folder when they are access by the other mail client.
  5. Click Save and you’re done.

 

Ubuntu: How to hide & unhide files/folders

If you are trying to hide or unhide files/folders in Ubuntu it is a fairly easy task.

How to Hide Files
Put a period’.’ in front of the file/folder.

Now, once you have done your files should be hidden.

How to temporarily unhide files
By using Ctrl + H it should toggle the view of your hidden files.

Yes it is really that easy!