Windows File System Basics

2. What IP / URL pair has been added to your hosts file?

There is no new file added. I have executed step-by-step to this point. (Or so I believe)

I also ran into the same problem with this - the instructions tell you to execute ./challenge.bat on the Desktop. The problem is that you can’t do that as a regular user. You need to right-click on the Start Menu, select Windows PowerShell (Admin), and then run it from there. That will create the file correctly.

The issue was that I missed Step 17 in the previous part of the course (Lesson 1.2), which said:

On the taskbar, right-click the Windows Start icon and select Windows PowerShell (Admin).

So if you try this step again running PowerShell as admin you should see the new entry!

1 Like