Hi, In the project settings, I check the "Create batch file" opitons in the "Output" panel to generate a batch file, so that I may build the project without the Keil IDE. But the keil is install in the dir "D:\Program Files\Keil" on my computer (there is a ' ' in the path string). The last line of the batch file created by keil is D:\Program Files\Keil\ARM\BIN40\fromelf.exe ".\output\test.axf" --i32combined --output ".\output\test.hex" Note that there's no quote surrounding the path string. So I have to add the quotes to avoid the syntax error. It's very troublesome to editor the batch file every time after I rebuild the project in the Keil IDE (when a new source file is added, I have to rebuild it to update the batch file).
How can I solved this? Write another batch file to automaticly check and modify the batch file and finally open it?
I clutter my root directory with a \bin\ where I add a number of tools that I don't want to disappear into the huge Program Files tree. All tools that makes use of command-lines or similar gets into the \bin\ tree, to make sure that Makefile etc will function as expected.
I also have \doc\ and \usr\ and these together with \bin are my main directories to backup.
Yes, that's what I do.
"I also have \doc\ and \usr\"
Likewise.
Note that the "My Documents" shortcut can be set to point to such a place...