You can use an extension cord for your new appliance if you need immediate relief from the heat, but a window air conditioner should be installed close enough to an outlet to allow the cord to reach. Extension cords can only be used with an air conditioner.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.