How to execute file in DOS after any program exits? [closed] - batch-file

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am using MS-DOS 6.22. This is not command prompt.
I need to execute a batch file or .com file after every/any program terminates and returns to the command line. I don't believe a batch file will work for this cause it would have to be a separate batch for every single program on the system.
I believe a code injection into command.com may be necessary. Is there anyone out there who is familiar with the internals of DOS or assembly language?
If you think you have a simpler solution, please let me know.

Related

Is there a tool like CGDB for LLDB? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm looking for a tool like CGDB for LLDB.
Make debugging in the terminal easier.
Thanks.
lldb has a curses based gui that you can switch to with the gui command in lldb. It isn't complete yet, and in particular doesn't have a command-line window. So you can step, view threads, frames, locals and source, but you have to switch out of GUI mode to type commands.

How to get list of impacted C functions from diff between 2 versions of file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a way how to get list of C functions impacted by the code changes.
Conditions: C project, OS Unix, CVS ClearCase.
Initially, I had planned to use unix diff with --show-c-function option like
diff --show-c-function oldfile newfile
but found that sometime result is incorrect and diff returns functions which were not really impacted by the code changes.
Don't want to write hand-made solution, so, is there any Unix tool which can help to solve this task?

Is there a way to compile MS-DOS programs on Windows 7? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to compile C/C++ programs that are supposed to run on MS-DOS, can I do this without actually installing DOS?
If I can not, can I use a virtual machine as a work-around? (I tried this before asking but I can't see if they will work on an actual DOS on a physical machine)
Yes -- there are compiler toolchains like DJGPP and OpenWatcom which can build DOS executables on a Windows (or even Linux!) system.
Alternatively, if you already have a DOS toolchain that you want to use, you can certainly run that under an emulator like DOSBox.

command line interpreter in c [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to create a console "shell" for an embedded device.
anyone knows about an open-source implementation of such a thing in c ?
I need basic line parsing to commands & arguments.
Something similar to uboot - console shell will be great.
You may find usefull piece of codes in this shell a friend of mine is writting.
His aim is to learn issues regarding the shell coding, so this project should keep small and easily readable.
There is/was the book "Linux application development"
It implements a Shell as example. I found this quite convincing.

Where is linux kernel source starting point? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Well, after finishing an advanced C programming course i decided to take a look at the code of Giants. I wanted to have a look at Linux kernel source but as much as it's complicated I can't get to the starting point ! The main function or the first line of code to be executed after grub loads.
Would you please help me locate the first line of code to be executed in linux kernel 2.6 ?
linux/init/main.c:start_kernel()

Resources