if i need to go to my directory named as"exception handling" then i write (cd exception handling) but it gives error too many arguments
Use quotes:
cd "new folder"
or escape the space:
cd new\ folder
(That being said, cd
does not open a file but changes the working directory.)