Questions tagged as 'cmd'

3
answers

Command "npm" is not recognized by Command Prompt

I have a project with a package.json , in it I have everything configured. I just made the clone of this same project on another machine, my git clone worked without problems. But when I give the command npm install in...
asked by 02.06.2014 / 23:00
2
answers

Compile multiple java files in the same folder

I made a very simple Java program, using notepad and compiling by CMD . The problem is that even the files being in the same folder, the class that has the main() method does not compile. The following is the code below: Main class...
asked by 18.09.2015 / 06:55
2
answers

How do I run a subprocess with administrator permission?

I'm doing a script that accesses cmd of Windows, via subprocess . But I need to run cmd as an administrator. The solution I found is not satisfying to me, which would be to use runas . What I want to know is if there...
asked by 21.02.2014 / 22:01
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 an endless process?

Simple question, how do I make my application process "unstoppable" by the system? I want when a user tries to close the application the message "Access is denied" appears, and when it forces the kernel to terminate the CRITICAL_PROCESS_DIED ker...
asked by 07.02.2016 / 00:50
1
answer

Create database via command line and overwrite existing

I have a function (Delphi) that creates processes and executes BAT files that do, for example, backup of a MySQL BD, like this: "C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe" -u root -proot BD > "C:\dbbackup.sql" Is there a...
asked by 02.06.2015 / 03:36
1
answer

Execute commands or cmd scripts by java do not work [duplicate]

I'm having trouble executing some commands through java. If I run them directly from Netbeans or run the project directly from my machine it works perfectly any of the commands below: String comando = "cmd /c \"//Server/Sistema/Scripts/execu...
asked by 12.06.2017 / 14:31
2
answers

Show hexadecimal value in cmd.exe

I'm trying to show the accented letter 'is' in cmd.exe through hexadecimal, but printf() only shows the value of the character itself. I'm trying the following: unsigned char eh = 0x82; printf("%x", eh)     
asked by 28.03.2014 / 02:50
1
answer

CMD, Console, MS-DOS and related terms

Well, it has embarrassed all the concepts that I will list below, and I would like to see the definition of these terms presented, perhaps some are synonymous with others and others are totally different. SHELL BASH Terminal Console...
asked by 06.07.2015 / 05:33
1
answer

How to pass response from one command as argument to another command?

In linux I do something to get the response of one command and pass as argument to another: ./program 'ruby -e"puts 'Oh' * 3"' In case what is between the accents ( ruby -e"puts 'Oh' * 3" ) will be executed and the return will be pass...
asked by 04.01.2017 / 16:06