Questions tagged as 'cmd'

1
answer

Identify Java version of JDK

I am creating an IDE and when the user presses to run the code I do the following: try { File file = new File(arquivoSelecionado.nome); try { FileWriter fw = new FileWriter(file); fw.append(code.getText()); fw...
asked by 30.05.2018 / 05:58
1
answer

CMD, PowerShell, Bash - What's the difference?

There are differences between them, which ones? I speak Ubuntu Bash. I'm curious because to me they seem to do the same thing!     
asked by 07.08.2016 / 21:08
2
answers

What is the difference between SET and SETX?

To fix a new environment variable in Windows I noticed that there are the SET and SETX commands. What is the exact difference between the two commands?     
asked by 20.02.2017 / 21:12
2
answers

How to delete files from a folder recursively based on an expression?

I'm using a project where there are several temporary files that for some reason have not been deleted over time and are taking up a lot of space. I need to delete all images from that directory, recursively, when those files begin with the l...
asked by 03.07.2017 / 14:01
1
answer

Run program in FullScreen in Windows 7

Hello, I have a project already finished, it was written in C language, how do I run it in fullscreen on windows 7? Are there any libraries for this? I've been searching the internet, but I have not found anything like it.     
asked by 17.11.2014 / 20:04
2
answers

How to escape characters in Windows Batch?

I have the following script: start "" "https://site.com.br/app/index.jsf?username=nomecabuloso&token=tokenzera" However, when I run it, it is no more than index.jsf , it opens the following url: https://site.com.br/app/index.jsf...
asked by 12.09.2017 / 16:23
1
answer

Execute cmd commands by Java

I would like to know how I do to run cmd commands in java. Well, I did this: import java.io.*; public class Commands { static final Runtime run = Runtime.getRuntime(); static Process pro; static BufferedReader read; public static void main(...
asked by 06.04.2015 / 04:05
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
2
answers

How to debug C programs from the Command Prompt?

I need to debug an algorithm in C but the machine I'm using does not have Code :: Blocks. What is the path for me to debug in the Windows Command Prompt?     
asked by 16.02.2016 / 04:00
1
answer

How to send special characters by CMD to a file?

I want to send the > character to a file via CMD but I can not. The following example illustrates my difficulty: echo casa > cidade > Estado >Arquivo.txt In the above example you should write the phrase " home> city " in th...
asked by 24.08.2016 / 02:20