I know this is an old question, but I recently came across to this problem and after solving it on my own, I decided to make a research for it and found this entry.
The above-mentioned solutions are really great. But for those who need less abstract solutions, I will just post my approach to this question step by step.
1) Let's call our subject, the natural number, n and call the product of its divisors, m. It is pretty easy to see that n and m are made of exactly the same prime numbers, meaning that if you prime-factorize both of them, you will see the same prime numbers (SPOILER: however their powers will be different most of the times).
2) If you can figure out the power of each prime number in the prime factorization of m, you can figure out m. (Pretty easy, right? [see Unique Factorization Theorem for the sake of math]). So let's try to figure out the powers of prime factors of m.
3) Remember, m is the product of divisors of n. So, for every prime number p, that is a prime-factor (in other words, a divisor) of n, consider all the divisors of n that are divisible by p. (It may be hard to consider them for now). Now, think on this following statement for some time and try to convince yourself for it: The set of divisors of n that are divisible by p is the same set with the set of divisors of n, that are NOT divisible by, multiplied by all the powers of p that divide n. (I know it's mouthful).
4) In case the last statement is hard to swallow do the following. Draw a Venn diagram of the set of all divisors of n. (I suggest a rectangle). Let's say, the power of p is k in the prime-factorization of n. Divide the Venn diagram into k+1 subsets that have the equal size on your diagram. The top subset is the set of divisors that are not divisible by p. The second subset is the set of divisors that are divisible by p but not p^2. The third subset includes divisors that are divisible by p^2 but not p^3. ...and all the way to the last subset whose elements are divisors of n that are divisible by p^k. Let's call these subsets A0, A1, A2,... Ak from the begining to the end.
Now consider A0. If you multiply the elements of A0 with p, you get the A1. If you multiply the elements of A0 with p^2, you get A2. Now recall the last final statement in the bullet 3); you will understand the statement now. This means all these subsets have equal number of elements.
5) Back to the topic, consider all the divisors of n that are divisible by p. This set is the same with the union of A1, A2, ..., Ak (since only A0 is 'p-free'). The power of p in the prime-factorization of m, can be figured out by the power of p in the prime factorization of the number that is equal to the product of the elements in the sets A1, A2, ..., Ak. (We excluded A0, because it will not bring any p factor). Remember that,
A1=p * A0
A2=p^2 * A0
...
Ak = p^k * A0
So, "'the number' that is equal to the product of the elements in the sets A1, A2, ..., Ak" is the same with the product of elements in the sets p * A0, p^2 * A0, ..., p^k * A0. (Multiplying a number with a set is a bad notation, but I hope it makes sense).
6) Denote the number of elements in A0 (in other words, the number of p-free divisors of n) by c. The power of p in the prime factorization of 'that number' will be 1*c + 2*c + ... + k*c, because A1 brings 1 p factor for each of c elements, A2 brings 2 p factors for each of c elements, ... until all the way down to Ak that brings k p factors for each c elements. (Recall that each subset has equal number of elements and A0 has c elements, so each one of them has c elements). Consider:
1*c + 2*c + ... + kc = [k(k+1)/2]*c
7) (Almost over). This was for a prime factor p of n that has the power k and A0 had c elements. If you consider all the prime factors of n, you will have different p, k, c values and different A0, A1,..., Ak sets. Let's say,
n = p1^k1 * p2^k2 * ... * pt^kt. (the numbers at the right side are indices. Please someone fix my post). (There are t number of unique prime factors of n).
The final equation of 6) tells us that
m = p1^[(k1*(k1+1)/2)*c1] * p2^[(k2*(k2+1)/2)*c2] * ... * pt^[(kt*(kt+1)/2)*ct]
Also notice that
c1 = (k2+1)(k3+1)(k4+1)...*(kt+1)
c2 = (k1+1)(k3+1)(k4+1)...*(kt+1)
c3 = (k1+1)(k2+1)(k4+1)...(kt+1)
...
ct = (k1+1)(k2+1)(k4+1)...(k(t-1)+1)
because i.e c1 is the number of divisors that are not divisible by p1, which is the number of divisors of n/(a1^k1) which is the same number of n divided by the biggest power of a1 that divides n, so you only consider the rest of the powers k2, k3, ... and add 1 to each of them and then multiply to find out the total number of divisors of n/(a1^k1). (like we were taught in the elementary school).
And let's denote (k1+1)(k2+1)(k3+1)(k4+1)...(kt+1) as C which is the total number of divisors of n.
So, m becomes:
m = p1^[(k1/2)*C] * p2^[(k2/2)*C] * ... * pt^[(k2/2)*C]
m = (p1^k1)^(C/2) * (p2^k2)^(C/2) * ... * (pt^kt)^(C/2)
m = [(p1^k1)(p2^k2)...*(pt^kt)]^(C/2)
m = n^(C/2)
This is the end since C was the total number of divisors as you expected.
I know this proof was a pain in the ass to follow and was too long, but since there were a lot of calculations and analysis, I believe it should be more convincing than one-line solutions especially if you struggle with thinking in a abstract way or if you just didn't put your full trust into math yet that you need to see some calculations and diagrams to believe it :D.