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-file]

A batch file is a text file containing a series of commands that are executed by the command interpreter on MS-DOS, IBM OS/2, or Microsoft Windows systems.

0
votes
0answers
15 views

Taskschd.msc -.bat won't write to file

Have a .bat file set to run at logon in taskschd.msc. Have confirmed that it runs at logon (.bat and window appears). However, it isn't writing to the .txt file as one of its functions. It works ...
1
vote
1answer
23 views

How to pass Ctrl+C to script called from batch job

I am trying to avoid the effects of pressing Ctrl+C in a batch file somewhat similarly to How to supress "Terminate batch job (Y/N)" confirmation?. However, in my case, I want the signal to ...
1
vote
0answers
32 views

how can i send an attachment to an email address using a bat file without using my password? [on hold]

here's what i want i have an gmail account( i don't mind having any other account if this will work ) and a file /folder and want to send it to my own email using a bat file without using my ...
0
votes
0answers
12 views

Create folder on another drive partition using bat file [closed]

I just want to create a folder in another hard drive partition from the bat file. But it is creating folder in same drive from where i am running bat file. Can anyone please solve this problem? ...
0
votes
0answers
23 views

Program not executing in batch script at startup

I'm trying to run HDDScan-3.3 in a batch file at computer startup through "Local Group Policy Editor". I want to change some power management behaviours for an external hdd as silently as possible. I ...
0
votes
1answer
114 views

Send a file to an email address using a bat file without exposing the email info?

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: ...
0
votes
2answers
36 views

Feature history of windows command prompt

I am preparing a Windows BAT script that uses some new features like setlocal and group of commands in FOR loops like for %%a in (a b c) do ( del %%a.bak ren %%.a %%a.bak ) I would like to ...
0
votes
3answers
68 views

Batch file or command line for removing header lines from text files

I am trying to remove the first 3 lines from 10,000 text files. Using: for %f in (*.txt) do more +3 “%f” >> output.txt I am able to remove the headers and concatenate all files in the folder ...
-2
votes
0answers
39 views

Creating batch files [closed]

New to the forum. I would like to create a batch file to do the following: run app"A" execute a command in it close app "A" run app "B"
0
votes
1answer
34 views

How to use a batch script to zip files with unique passwords?

Good day. I was wondering if there is a way to write a batch script that converts files into password-encrypted zip folders (each zip folder will have a unique password)? I have seen several ...
-1
votes
0answers
18 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. It is TS file format.. TS file ...
0
votes
0answers
12 views

Avoid “Confirm Execution” message when running a batch file on a network machine

I use a few batch files on my Network laptop. Each time I run a .bat I get a "Confirm Execution" dialog box with my domain name (already input) and password. Then I will have to enter my password, ...
0
votes
1answer
32 views

Password protecting a program without third party software with an encrypted password on windows 7 Enterprise?

Been testing it for a few days now and my original idea was to use a .bat file to ask for an input, the problem is that the password is not encrypted and therefore I can't use it as it is now. Found ...
0
votes
0answers
15 views

Read multiple files in HDRTools [closed]

I want to access multiple files in HDRTools which runs through a batch file. I want to access a folder but unable to do it. I have only accessed a single file through this command HDRConvert.dbg -f ...
0
votes
0answers
51 views

Running a long single line batch file containing files in a folder

I have a folder with over 2,000 files. I want to merge these files using a software called CloudCompare with the command line. The problem is that a single line cannot be over 8191 characters as per ...

15 30 50 per page