OK, so I've been upgrading computers like crazy lately and now I've got some extra parts laying around. So I got to thinking what I would do with those parts and it dawned on me that I should build myself a file server. I batted around the idea for a while and it seemed like the right thing to do, but the place where I want to stick the server once it's done doesn't have any outlets. What I want to do is stick it in my closet (which is a small walk-in closet) but within the closet there aren't any outlets. However, right outside the closet (literally on the other side of the wall where I would be putting this PC) is an outlet that's not even being used.
I know absolutely nothing about wiring outlets, nor do I want to learn, but I was wondering if it would be safe to have an extension cord plugged into the outlet and run the other end through the wall. There's already a hole right there from where the cable used to come through so I wouldn't really have to do anything other than maybe widen it a bit. So would it be a fire hazard if I just took my surge protector or extension cord and just popped the one end right through the wall and into the outlet?
I know absolutely nothing about wiring outlets, nor do I want to learn, but I was wondering if it would be safe to have an extension cord plugged into the outlet and run the other end through the wall. There's already a hole right there from where the cable used to come through so I wouldn't really have to do anything other than maybe widen it a bit. So would it be a fire hazard if I just took my surge protector or extension cord and just popped the one end right through the wall and into the outlet?