Capture Rectangle Auto-saving Option

I was using the key in i.e. CAPTURE RECTANGLE using C#.Net

CadInputQueue.SendKeyin("CAPTURE RECTANGLE");

i Want to configure the Saving path

CadInputQueue.SendKeyin("Capture Screen Output");

CadInputQueue.SendKeyin("MDL COMMAND MGDSHOOK,fileList_setDirectoryCmd C:\\");

CadInputQueue.SendKeyin("MDL COMMAND MGDSHOOK,fileList_setFileNameCmd screen55.jpg");

CadInputQueue.SendKeyin("MBE1 CLOSEMODAL OK");

but still this is not working the saving screen still appears so is there any solution to configure the saving path i.e. auto saving.