Its very easy, when you're using dos commands like "cd" in a batch file you can test wether it's going to work or not by first trying it out at the command line youself.
With cd in particular you'll find you can't just "cd" to any directory, its got to be within the current folder or you've got to supply a whole path string.
e.g.
cd windows
will only work if you are at "c:\" on the command line, but
cd c:\windows
will work from any where
provided you're on the same drive. (you can't cd to a directory on another drive)
also if there is a space in the path string you need to put the string in quotes e.g.
cd "c:\program files\program"
So your batch file to change directory could look like this:
Code:
c:
cd c:\windows\temp