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

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
1answer
13 views

Windows .bat create folders then delete .bat file [on hold]

I just try to create many folders, and sub folders, and after I created them, need to delete .bat file, please? "@echo off md Folder_01 Folder_02 02_SubFolder_01 Folder_03 03_SubFolder_01 del "C:\...
2
votes
1answer
39 views

How do you use a batch file to create another batch file that contains %username%

I have been trying to make a batch file using another batch file. The file I want to make needs to contain %username% in order for it to be functional in other computers as well. Whenever I try to do ...
1
vote
2answers
48 views

How to parse a directory recursively and MKLINK each file into a target path with the same tree structure

I have a directory a\ containing files and sub-directories that I want to copy into path b\ where instead of copying the files I want to perform a call to MKLINK <link> <target> on each ...
0
votes
1answer
25 views

How to force update to proxy setting after changing registry values in batch script?

In a batch script, I am updating a registry value with the REG command to disable the manual proxy. REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t ...
0
votes
2answers
34 views

Simple Batch Script for Copying file to locations based on username

I was wondering if someone can assist with this script, i have tried replacing the xcopy line with echo %frompath% and it just echos nothing, its as if the scope is not correct however i am unsure, ...
2
votes
1answer
30 views

How can I call a batch file within another batch file?

trying to call a batch file within another batch file the script completes the synchronization of the remote folders but then fails to call the other batch file. @echo off "C:\Program Files (x86)\...
0
votes
1answer
30 views

FFmpeg batch merge videos within a folder

I have a folder c:\myfolder\ containing a variable amount of mp4 files with same resolution / codec. Now I need a .bat file to merge all videos into one. e.g. c:\myfolder\1.mp4, c:\myfolder\2.mp4, c:...
0
votes
0answers
45 views

Batch script with findstr & “line to long”

I am using a solution found on StackOverflow some days ago: @echo off setlocal enabledelayedexpansion REM Line number of the delimiter line: for /F "delims=:" %%a in ('findstr /N "^xxyyzz" "Input....
0
votes
2answers
43 views

How can I run a batch file on startup in Windows 10 using the cmder console emulator?

I use a batch file to connect to proxy servers, which I have set to run on startup in Windows 10. The batch file that runs on startup triggers three further batch files (in order to run three ...
0
votes
0answers
45 views

When to create an INI file? [closed]

I new to INI files and would like to know when is the best case use for creating an INI file Windows and what's the difference between an INI and batch file.
0
votes
2answers
43 views

Can someone explain why the Compiled Batch-File detected by Antivirus as a threat?

When i create a Batch-File and Compile it to an .exe file (with Bat to Exe Converter), i suffer from a problem that when i execute the .exe file of the Batch my AntiVirus pop-up as the file is a ...
2
votes
1answer
36 views

How can I modify my batch file so it accepts input after the filename?

I created a batch file named "query.bat" that allows me to query a domain user account. @echo on set /p logonname=Enter logonname: net user /domain %logonname% Now, I'm wondering how I could modify ...
0
votes
1answer
53 views

Schedule a task in windows scheduler using batch command

How we can schedule a task in windows scheduler using batch file. I want to set a scheduler using batch command. echo off title Install Pentaho set /p downloadPentaho=Dowload Pentaho [y/n]?: if %...
0
votes
0answers
38 views

Subinacl with for loop to apply permissions to a list of folders

I'm having a problem with subinacl and was hoping someone could help. I've tried searching through this site and in various sites online and couldn't find the answer I was looking for. (Maybe I just ...
0
votes
0answers
69 views

How to extract/convert hundreds of .mov files into PNG image files,automatically creating a folder for each group of PNG files extracted

I need to batch extract and convert hundreds of .mov files into PNG image files, automatically creating a folder for each group of PNG files extracted. (I’m working on Windows 10). Can you suggest to ...

15 30 50 per page