hi akthar shaik,
you have to use sapshcut file to execute mm03 from the command prompt or file.
you can put the command in any xyz.bat file.
Example is as follows:
start sapshcut -sysname=XXX -client=800 -user=XUSER -pw=XXXPW -t=transaction -command="*mm03 RMMG1-MATNR=78;"
XXX = description of the saplongpad