Questions tagged as 'batch'

1
answer

How to list folder files on the network

   Context:   Sometimes I need to collect information from folders on the network,   where it has several subfolders and files.       Need:   I need to gather this information faster, so I thought of   put a .bat in the SentTo folder in...
asked by 20.01.2016 / 18:05
2
answers

ERRORLEVEL command with colors?

I created a script bat to tess some links, to using the command ping with errorlevel and it worked perfectly, but wanted that when I did not have communication, that is, did not dribble, it was of another color, red type. If...
asked by 04.12.2014 / 16:36
1
answer

Set Google Chrome homepage programmatically

To set the homepage of Internet Explorer, we can do as follows: REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /V "Start Page" /D "http://www.google.com/" /F But for Google Chrome things get complicated and I do not know the right...
asked by 23.12.2014 / 01:36
1
answer

How to make a program download images of a site, page by page, using id?

I need to download several images from a site, where only the page number changes, but the id of the tag img is always the same. I would like to know if you can create a program that does this download and page exchange, au...
asked by 16.05.2015 / 16:27
1
answer

Include task in Windows task scheduler via batch

I set up various types of backups by batch, the codes are not pertinent to this question, however what is difficult is to configure them by the Windows Task Scheduler. Is there a way to add these tasks by batch? I would like to be able to...
asked by 02.10.2017 / 17:08
0
answers

Send commands to a Batch with user input

   Context:   I have a Batch that I can not change , its function is to list some files in a specific directory, and after it lists the files it is waiting for some user command.       Problem:   I would like to automate this process, bu...
asked by 24.08.2015 / 17:33
2
answers

Simulate an "ok" via the command line

I have a command from the Windows prompt that disables proxy settings: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\" /v ProxyEnable /t REG_DWORD /d 0 /f Browsers on my system are configured to use my system set...
asked by 05.10.2017 / 21:34
2
answers

Windows CMD - Setar String with Accentuation

I'm trying to create a Batch (CMD) in Windows that "sweeps" folders in a certain directory and then renames the sub-folders according to a criteria I set. I'm using the code below to perform the operation (detail: this code I found on the int...
asked by 26.07.2016 / 14:01
1
answer

Return File Name in Batch

Is it possible to return the name of a file / program for a bat? Type by dragging it to the bat or executed by the bat, it returns the name.     
asked by 12.09.2017 / 23:27
1
answer

Calling PHP function for BAT file

I need to create a BAT file that should be executed every day on 25th. It should run a function named emailAnnountables (), which has been defined for programming a website within two files (controller and model). Since I took over this websi...
asked by 05.08.2015 / 14:24