Questions tagged as 'batch'

1
answer

Save the value of a variable abroad and then import it into Batch

If I create a variable like this: set /a EXEMPLO=1 "EXAMPLE" is 1, how can I save this information on the outside (in a file) and then import that value again into the same command? So, after closing the command prompt, I can "read" the val...
asked by 09.12.2017 / 19:07
1
answer

Batch file to create another batch file

Is it possible for a batch file (EXAMPLE1.bat) to create another batch file (EXAMPLE2.bat) already programmed? Where I determine the programming of EXAMPLE2.bat within EXAMPLE1.bat.     
asked by 10.12.2017 / 11:01
2
answers

.bat which deletes the file name by leaving only what is inside ()

I have a file of this genre: blabla_(29ago2017)_blabla I need you to look like this: (29ago2017) There is some code in .bat that will make this work for me, ie just leave what is in parentheses as the filename.     
asked by 25.08.2017 / 01:09
2
answers

What is Batch and Online Processing?

Batch I researched and saw that it is a batch processing .... Ta, but what does that mean? and what would a batch file look like? (refers solely to .bat extension?) and what would batch drives be? What's the difference of a batch move for an onl...
asked by 23.04.2017 / 21:38
2
answers

Assign directory of a searched file to a CMD variable

In batch I can search a file with the following command: C:\>DIR /S /B PROGRAMA.EXE And if the file is found it will return like this:    C: \ Users \ Dev \ Desktop \ Program.exe I would like to be able to get in the result only t...
asked by 27.01.2017 / 20:22
2
answers

A .bat file that changes the background color according to the number that the user typed [duplicate]

The code below should change the background color after the user types a number from 0 to 7, but the program closes shortly after the user types the number and does not change the color. I'm using the win7 cmd. @ECHO OFF SET /p num=Digite...
asked by 25.02.2017 / 15:22
1
answer

Problems with Batch Backup and with Specific Software

I have two problems with backups performed in different ways (they are distinct and independent solutions), the first is a batch (BAT file) and the second is with the backup software of SEAGATE DASHBOARD (I'll call SD for simplicity) . The ba...
asked by 13.11.2016 / 04:19
2
answers

End process by .bat every time it starts

Good morning! Whenever I start the computer the process GWX.exe (the famous process Install Win10 ) runs, going to the Task Manager and finish it. So I created a .bat with the following command line: @echo off TASKKILL /F /IM "GWX.exe"...
asked by 04.05.2016 / 14:16
1
answer

Move and Del batch commands are not working

@echo OFF mkdir saida sort %1 > cadperfiSorted 2>> saida\error.txt start MAKEOPEACER5.jar cadperfiSorted del cadperfiSorted //OPEACER5 é um arquivo gerado pelo .jar move OPEACER5 saida This is the script I'm trying to run. Everyth...
asked by 30.01.2016 / 00:49
1
answer

Batch calling "dtsx" does not connect to Avaya CMS

I created a service in dtsx that needs to connect to CMS Avaya . It turns out that when I squeeze it through Visual Studio it follows the process to the end normally. But when I call a batch it does not allow authentica...
asked by 04.04.2014 / 16:18