This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change directory of lst and obj files

Hi

I wish to change the directory where the lst and obj files are created using the command line arguments [PRINT and OBJECT]. I wish to keep the output file names same as the input files.I tried invoking the C51.exe from the CommandPrompt and use PRINT[../lst/*.lst] as directive and i get fatal error "file cannot be created".

I guess there is a way to this from a batch file,could some one show it how exactly that goes about?

Thanks

Parents Reply Children
  • The best way is to let uVision do it, and then follow its example

    I am always wary of a method being described as "the best way". Like so many people describe a situation as being "the only thing is ..." when they really mean "the only thing I can think of at the moment is ...".

    That said, it is certainly one of the easiest ways.