Questions tagged as 'prompt'

1
answer

WINDOWS CMD Commands

I do not know if you can ask questions about this, but I'm having trouble opening the file continuously in Windows CMD. When I use Linux, just do this: tail -f C:\xampp\apache\logs\error.log But in Windows this command does not work. Doe...
asked by 06.02.2016 / 01:39
1
answer

How to only allow numbers at a prompt in javascript?

I want to be able to put only numbers when I insert something into the prompt. var count = prompt("Teste"); How can I do this?     
asked by 09.07.2018 / 07:58
3
answers

How to call external command with Python?

How can I call an external command in Python, as if it were executed in the Unix shell or at the Windows prompt?     
asked by 21.08.2014 / 17:50
1
answer

UDP destination address and ports do not appear

I'm creating a page that tracks UDP packet traffic on my machine with PHP . My intention was to get the list like this: ____________________________________________________________________________ | Proto | Endereço local |...
asked by 29.07.2016 / 17:27
1
answer

How to create a .BAT configuration file in windows?

I am automating some processes on a Windows server, and I would like to create some .bat files for this, but for that it would be necessary for the .BAT to be read from a configuration file so I did the following: file get.bat: @echo off set...
asked by 23.07.2015 / 15:13
2
answers

How to download from the command prompt?

I've seen several videos, but I do not want to download that one from Wget . Is there no other way?     
asked by 20.08.2015 / 18:02
1
answer

Default directory for opening the prompt in Node.js

How do I get Node.js to always open in a directory I want? I'm new to this technology. I would like to know how to change the default opening path, because it currently always opens in c:\users\meu_usuario . Follow the image below:   ...
asked by 20.08.2014 / 21:02
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
3
answers

How to create a folder with the current date name in Windows cmd.exe

What I already have: %date% is the windows variable that stores the current date. When I use echo %date% the value Tue 07/25/2017 is correctly printed. But when I try to do mkdir %date% the created folder is Tue...
asked by 25.07.2017 / 22:18
2
answers

Execute PROMPT / CMD commands in Java [duplicate]

Good people, I would like to know how to execute this command in Java: attrib -R -A -S -H /S /D I:\*.* This program is for cleaning pendrive viruses. I already consulted some materials here in the forum, but could not apply. Basically...
asked by 27.11.2016 / 05:04