Minor google question

i am in the middle of creating a customized toolbar (similar to google) for my own needs and i need some advice. i would like to search a certain domain/directory using google search engine. the problem i have is that i cannot find a url/link to search a certain cite using google. for example, searching www.abc.com/xyz directory for certain information using google. what url do i use? www.google.com/search and then what? any advice? i also dont want the search query (in the search bar) to list the searched directory.

i dont want this this http://www.google.com/search?q=admission+site%3Astanford.edu&submit=Google+Search

i do want this. what URL is he using so i can customize it to my site?
http://www.google.com/search?q=express+mail&btnG=Google+Search&domains=http%3A%2F%2Fwww.uspto.gov%2Fweb%2Foffices%2Fpac%2Fmpep%2Fdocuments&sitesearch=http%3A%2F%2Fwww.uspto.gov%2Fweb%2Foffices%2Fpac%2Fmpep%2Fdocuments&ie=UTF-8&oe=UTF-8

please help. thanks.

http://code.google.com/

i cant find it there. any advice?