running levels with zdoom

I was wondering what the zdoom command to run wads made with an editor, because i tried the -iwad command but it didnt work.
Thanks
Thanks
johnc753 wrote:u mean in console right?
but when i type file in console screen......it said error?