Home: Perl Programming Help: Intermediate:
`CMD` not working on 64bit platform



ajitnavasare
Novice

Nov 5, 2009, 2:32 AM


Views: 1527
`CMD` not working on 64bit platform

Hi all,
I am facing a problem, my scripts works well on Win2k3 32 bit platform (active perl 5.8.8,primal Script) but on win2k3 64bit I have an issue when I use “ `reg query hklm\software\someappname\cregs 1> dataf.txt 2>&1` ” I get the O/P as “ERROR: The system was unable to find the specified registry key or value.” But if I execute the same CMD from command line I get the proper O/P. and more over the same script works well on 32 bit platform with out any error.
Can any one help me in the above issue?
Thanks in advance.