Hi All, I developed a program on windows xp and I used exec to run a ".bat" file and it worked fine. I copied the exact program on windows 2003 and the bat file didn't run. I used echo before the exec function and it seemed to work fine, I mean it echoed :
D:\xampp\htdocs\x>RunDLL32.EXE printui.dll,PrintUIEntry /y /n "HP LaserJet P2015 Series PS"
but it didn't do anything. I ran the bat file alone and it worked fine. Just doesn't work with exec in windows 2003. any ideas?