Launching Multiple .vbs and .bat scripts at same time [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'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.

Related

How do you create a text file from a batch 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 2 years ago.
Improve this question
I need a batch file that creates a text file and writes in it.
You can use echo, and redirect the output to a text file
rem Saved in D:\Temp\batch.bat
#echo off
echo This is a text> file.txt

How to insert the date in a batch 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 2 years ago.
Improve this question
I am trying to automate my life with batch files, and I am wondering if it is possible to plop in the date EX: 11/14/2020 in google forms using send keys .
Set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep(1000)
WshShell.SendKeys Date

How to execute file in DOS after any program exits? [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 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.

Ctrl+c terminate process not batch 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'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.

Backup and upload to FTP server [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
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 :).

Resources