Questions tagged as 'batch'

3
answers

Wait for BAT command to be executed to continue

I need to run a bat file with the following content: ECHO "Mensagem 1" copy xxx yyy ECHO "Mensagem 2" outro.bat param1 ECHO "Mensagem 3" copy zzz ooo But when he runs the other.bat my script does not wait for it to finish to execute message...
asked by 31.05.2017 / 19:33
1
answer

Batch script - move parent directory and subdirectory

How do I create a . bat to move all files in specific or better only those with .txt extension of one directory and all its subdirectories to another folder.     
asked by 27.03.2016 / 08:26
1
answer

Script that deletes files by the extensions

I want to delete several types of extensions, so I do not know if I'm incrementing in batch, someone could help me and teach me how to increment the if in the code below: @echo off cd E:\comp_softwares pause Del /f /s /q *.mp3 pause cls echo O...
asked by 19.05.2016 / 21:05
1
answer

WScript http post / get in JScript for PHP

I am trying to do a script in JScript to be executed by WScript (native Windows command processor) ... And I have a question: How do I send data in POST or GET (as in a form) to a PHP page? Thanks in advance. Edit: The idea is to make a...
asked by 03.10.2015 / 21:51
1
answer

Apply recursion in a batch script

Some time ago, I had to use Microsoft Office Document Imaging to convert a document template created in Microsoft Word as an anti-copy prevention measure for the template itself (positioning, , settings, and so on.) But the application in q...
asked by 08.08.2014 / 22:36
2
answers

How to run all files inside a folder

I have a folder with several audio files and I want the cmd code to run all of them, one at a time. Anyone have an idea if this is possible and if so, how do you do it?     
asked by 05.08.2014 / 13:03
2
answers

How to create batch files with variable

Hello, I do not understand anything about programming. I have discovered how to create .bat scripts and I am using it to make my life easier. Every day I have to open several internet pages in my work, so I created a .bat file using the START co...
asked by 30.11.2018 / 00:48
1
answer

How to set .bat path

Well my problem is the following I want to run a .bat file that will: create a folder locally copy images from my server to the created folder hide the created folder But it ends up displaying this message: C:\Wallpaper especifica u...
asked by 15.10.2018 / 19:03
1
answer

Batch File to access multiple directories and execute python script in different command prompts

Hello everyone, how are you? I'm trying to create a bat file to run python scripts in different directories, something like this: C:\Test | --- Test1\example.py | --- Test2\example.py | --- Test3\example.py | --run.bat I have...
asked by 01.10.2018 / 15:05
1
answer

Rename all files in the directory where you have "u0026" to "e"

I have more than two thousand files with "u0026" in the middle of the names (in this case it would be &) and I need a script that can without in php or batch to rename all keeping the original name by just changing this " u0026 "by" and ", I...
asked by 15.08.2018 / 19:01