Questions tagged as 'cmd'

1
answer

Windows Ping should return only the response values of the packages

I am making a script as a ping command and I want to get only the response from packets sent and received, so far I can only put the ping media using this variable: for /f "tokens=* delims= " %%i in ('ping -n 4 172.16.7.144^|find "ms"') do set...
asked by 01.12.2014 / 21:00
0
answers

Adapt Script that copies specific files and renames them (VBS)

Well I already have a script that does the reading and copying of the files, however, I need to refine it a bit more, for example: CURRENTLY: I get the list of file names: AAAAA1.jpg AAAAA2.jpg AAAAA3.jpg I need it to be:...
asked by 27.11.2018 / 23:55
0
answers

Test a port and capture a batch test response

I would like to know if it is possible for me to run a test to know if a port is open, as with the telnet command, but to get a response like ping that can trigger another action with errorlevel 1 or 0. Thanks in advance.     
asked by 06.11.2018 / 00:43
1
answer

Compile C ++ file in VS Code using external cmd

I can compile files in VS Code normally, however the files are shown in the terminal of the own program, which does not allow the insertion of characters. How can I configure to be able to use a terminal that allows me to interact?     
asked by 24.10.2018 / 18:07
1
answer

Use the windows CMD commands from the typed

I use Cmder or ConEmu and am trying to set some of them to get the typed commands from what I already typed. For example, if I enter the following sequence of commands: cd Sites\site1 ssh user@ip mysql And then type UP (setinha up)...
asked by 10.09.2018 / 20:10
1
answer

How to run and display CMD logging?

I've seen some examples of how to "execute" CMD commands by the application, though, I'm facing some difficulties. What I am trying to do is to give a cd in the oracle folder, and then run Backup.exe , and "set" in JTextArea...
asked by 02.07.2018 / 04:51
1
answer

Script to check process running and finalizing or not

I have a process called monitor.exe and it can not have 2 active processes because it is a print monitor that if it has 2 active processes it will issue 2 duplicate invoices, so I would like to know if it has how do I make a script that checks i...
asked by 19.04.2018 / 15:01
0
answers

List specific directory in Windows - Filter in the listing

I have the scenario with the following directories in alphabetical order: Y:\imagens\A001\B001\imagem.jpg Y:\imagens\A001\B002\imagem.jpg Y:\imagens\A002\B001\imagem.jpg Y:\imagens\A002\B002\imagem.jpg Y:\imagens\A003\B001\imagem.jpg Y:\imagen...
asked by 01.12.2017 / 21:21
1
answer

Wheel php script in cmd with curl

I'm testing an api, trying to use some features presented the following message:    Something went wrong: Network: CURL error 60: SSL certificate problem:   unable to get local issuer certificate (see    link ). Through searching I discov...
asked by 26.10.2017 / 15:38
2
answers

Change command prompt properties in c

I'm new to c. I would like to know if it is possible to change properties of the command prompt by c, such as cmd size, width or even the font?     
asked by 22.06.2017 / 02:15