You mean the System Exec returns nothing? Then you should do error checking! System Exec returns an error cluster that can give you some indications why it didn't work. Possible reasons could be Windows version differences.
Older Windows versions did not have an ipconfig but named the utility differently.
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390