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'm working on a batch file which get remote user process by tasklist. When i press ctrl+c to terminate running process and press Y, it closes the batch file.
But My requirement is to move on specific Label say :start.
Ctrl+C is actually a pre-programmed part of CMD/batch, not manipulable part of the file. Unless you use a program like batbox in your .bat file, you will not be able to directly manipulate the Ctrl+C command. Even with batbox, I am not sure that you will be able to manipulate the Ctrl+C.
Hope this helps.
Find the batbox program here:BATBOX download and info
I am not from batbox, just have used the program before with some successes and failures.
Related
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 pretty new to .vbs and .bat, but is there a way to start multiple .vbs and .bat files at once with a few lines of script/code? The reason I'm asking this is because I'm trying to make a prank for a sibling/friend, and I want it to launch a .vbs file and .bat file for the prank.
Yes you can just use start:
#echo off
start "" bat1.bat
start "" vbs1.vbs
And so on, this batch script will start them without waiting for each to complete.
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.
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.
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'm new to T32 script, and would like to test few scripts from the example of the user guide.
However, I don't have a target to hook up with, so I'm wondering if there are something like a simulator which I can try my scripts without connecting to a real device.
Just want to practice the language first.
Thanks!
TRACE32 can run as instruction set simulator by setting the operation mode in the configuration file that you have to provide on start-up. A minimal configuration file for starting the simulator looks like this:
PBI=SIM
PRINTER=WINDOWS
SCREEN=
HEADER=TRACE32 ARM SIMULATOR
Using PBI=SIM makes sure that TRACE32 operates as instruction set simulator. You can specify configuration files on the command line with <t32_executable> -c <config_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 7 years ago.
Improve this question
Can anyone direct me to a script solution that makes a backup of a directory and uploads it to an ftp server?
I was searching for a batch script initially but any solution would do, as long as it is open source.
Thanks in advance,
Jean
I'll be working on one soon, but WinSCP has a CLI that you can use to accomplish this:
http://winscp.net/eng/docs/commandline
There are plenty examples using WinSCP on stackoverflow and on other sites, like:
Batch file when using WinSCP and command prompt
Problem in executing the batch file in winscp
You can use this url get more examples:
https://stackoverflow.com/questions/tagged/batch-file+winscp
Please keep in mind WinSCP isn't the only solution for this, it's the one that I use at work :).