Questions tagged as 'cmd'

1
answer

Problems installing the Ionic Framework

I'm a beginner with the Ionic framework and I'm having a problem trying to install. Recently I had to format my computer and now I can not install the framework again. When I run the npm install -g ionic command, the error that you c...
asked by 19.02.2015 / 03:14
2
answers

Create shortcut for complex commands in CMD

I use the taskkill /f /im nome.exe command to stop processes, because the same for all processes with the same name.    I would like to commit this command to something like tk nome.exe . I tried to create an environment vari...
asked by 09.04.2018 / 20:27
2
answers

Delete content including folders

I'm trying to delete the contents of a folder but I have the following problem: Using the command del it deletes only files and the folders are (you have to delete the folders as well). Using the command rd it deletes beyond...
asked by 14.06.2017 / 15:58
1
answer

Start command with special characters (CMD)

I'm creating a batch file that runs this command: start jogo.exe user:USUARIO pwd:SENHA The above command causes a character to automatically enter a certain game. The command works fine if entered through the Command Prompt itself. But I h...
asked by 25.06.2017 / 06:19
1
answer

How to create a .bat to run network file

Bat that is locally in a network of several computers, one has a recorder and the other does not, the one that does not have the recorder I use a .bat with the following code via local network, to get the files of the cds. / p> net use d: /del...
asked by 08.05.2017 / 20:46
1
answer

Call more than one bat script

I have a very chatty situation and I could not find a solution, I have 2 scripts and they are called through another, my problem is that it calls one and not the other, one starts a tomcat and the other starts a hsql bank. Can some...
asked by 14.06.2017 / 14:37
2
answers

Invalid character in .bat file

Gentlemen! I have a .bat file that I use to start Apache Tomcat from my application in debug mode. However when running this file in CMD, the first thing displayed is the following message: ''╗┐' is not recognized as an internal command o...
asked by 23.11.2016 / 16:45
1
answer

Write current directory in a text file

In a batch program I have: echo Date >c:\users\...\testecmd.txt Writes the current date to a text file. Assuming I do not know where the directory in which the self executable is, how do I get it to call the Current Directory inste...
asked by 17.02.2016 / 04:15
1
answer

Identify which partition is running the script

In the case of prompt of command we can use Windows environment variables to advance paths, such as: echo %homedrive% That will result in the attribute letter where sistema operacional was installed. But to tell you the tru...
asked by 03.03.2018 / 03:58
1
answer

Calculate two times in a variable in the batch

Is it possible to calculate the difference between two times with the batch and use the response as a variable within the command? The "time" command allows you to do the calculations between start and end times. set STARTTIME=%TIME% set ENDTI...
asked by 05.12.2017 / 19:50