I have a pantry enclosed on two sides by standard partition walls faced with cabinet wood, then two short sides open to the kitchen on the outside made from cabinet wood, then the door is mounted at 45 degrees on the two short sides - like !http://www.modabakeshop.com/wp-content/uploads/2014/04/turkeydraw1.png where the red line is the door. The light switch (actually a 3-position off/sensor/on) is awkwardly located under the bottom shelf at the back of one of the full walls.
What I want to do is to turn the existing receptacle into a junction box (blank plate cover for access) and then move the switch to a chest level switch, still on the inside, but mounted on the short cabinet wall right next to the door. This means it would have to be a receptacle box that sticks out from the wall - something like this I guess: !http://www.homedepot.com/catalog/productImages/400/f8/f80e4798-4436-4ccb-aa86-50777d412598_400.jpg
Wiring would come out of the existing receptacle somehow (blank faceplate but with a gromitted hole?!), then run in plastic trunking around the wall then up to the new receptacle.
Firstly, is this acceptable in terms of installation? I know there are local variations to code so I'm talking generally.
Secondly, when extending wiring from the existing receptacle to the new, can I just run the switched core? In other words, use a single 3-core cable (1 ground) and run the hot up one core, via the switch, and back down the other core? I believe in other localities that is allowed as long as the "wrong" core is taped to show it is live rather than neutral.
Thanks - it's hard searching for the right way of doing it when I can't get the right terminology for what I want to do! Location: southern California.