Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [batch]

Batch processing is the execution of a set of commands or software programs without user intervention. A batch file is a text file containing a sequence of such commands or programs invocations. Please use the tag [batch-file] for that.

1
vote
1answer
30 views

How can I batch process Camtasia Studio's .camrec files?

I have several Camtasia Studio's .camrec files. I would like to convert each of them to a .mp4 file, using the same conversion settings (audio/video encoding parameters, etc.). How can I achieve that ...
0
votes
1answer
28 views

Batch file not working

I am trying to run some commands in batch file on windows server 2012 but it's not working properly. What i am doing here. Get all files(.docx) from current directory in loop, convert file into pdf ...
1
vote
1answer
34 views

batch change date of all files in dir based on name order [on hold]

I have a lot of images sorted according to their filenames: img1.jpg, img2.jpg ... I need to change the file date which is now the same on all images so that img1.jpg date is before img2.jpg etc I ...
0
votes
1answer
25 views

How to open Windows+Tab in command prompt?

From a batch file, is it possible to open the Desktop view like when you press the Windows Key and the Tab Key? Preferably in one command.
1
vote
1answer
69 views

Send a file to an email address using a bat file without exposing the email info? [on hold]

I want to send a file to my Gmail account via a bat file and encrypt my email info in that bat file so that if someone opens the bat file they cannot get the email information from it. Logic such as: ...
1
vote
1answer
42 views

Remove an argument from %*

In windows batch, I would like to remove one or more specific arguments from %* For example, I want to remove --dev from a command like this: python --dev -c "print 'hello world'" How would I do ...
1
vote
1answer
21 views

Batch repacking archives into 7z with custom settings

I'm working on archiving and compressing a lot of design elements and they are mixed in .zip and .rar files. After tinkering and testing these settings seem to produce the best results for me: I'm ...
1
vote
2answers
39 views

Percents in batch

The following works in command line but not in a batch file: ffmpeg -i ext_%04d.jpg video.mp4 %0 is parsed as a variable and I can't figure out how to handle it. Is it even possible? edit : I know ...
1
vote
1answer
30 views

Batch: Set Top-Level Folder Name as Variable

Environment: Windows 10 Question: If possible - how do we set the name of the top-most folder on a drive as a variable? We receive a disc from a third-party that contains updates to a system we use - ...
-1
votes
0answers
12 views

batch: Split Video file into multiple files on each 5 seconds

Please help me. I wanted to split my video file into multiply files by 5 seconds each output video file. I guess this will be the easiest way to solve my problem.
1
vote
1answer
49 views

What is the significance of video card DeviceID from WMIC?

I'm using a batch script on Windows 10 to gather client hardware information. Some of my clients are laptops with dual video adapters, an embedded Intel graphics adapter and a discrete Nvidia adapter....
-2
votes
1answer
83 views

I am looking for the code in batch that would allow me to Change the error code for ping “request times out” to any text I want

I would like to make a ping script that instead of saying "request timed out" it returns something else such as "offline." I want this to to be output while ping is running not after the command ...
1
vote
1answer
62 views

7zip batch creates folders instead of filename

I have a simple Windows batch script, which is run by backup software as pre-backup action. It simply looks for latest SQL dumps, compresses them into 10-times smaller 7zip archive, then cloud backup ...
-1
votes
0answers
26 views

Need a batch script to check log and reboot the system [closed]

The following is the last three lines of my log file INFO: Machine will have to be rebooted to complete installation. INFO: Returning with code 0x40000002 INFO: 10/06/2018 08:22:14 I ...
0
votes
1answer
47 views

How is the conversion/cautions things from batch version of robocopy to PowerShell version of robocopy?

After some googling, majority of posts online talking about the goods of PowerShell, and the environment going to use robocopy is Windows Server 2016. Thus, an original batch file with two command ...

15 30 50 per page