Questions tagged as 'cmd'

2
answers

"keytool" is not recognized as an internal or external command, program or batch file executable

I am trying to implement Firebase in my Android Studio application and since I want to use Firebase Auth I need the SHA-1 signature certificate, and to get it I need to execute this code in the CMD: keytool -exportcert -list -v \ -alias androi...
asked by 06.08.2017 / 07:06
1
answer

problem running java in window in system symbol

Having installed the jdk I get a message in the window of the    system symbol "javac is not recognized as an internal command or   external " I do not know what else to do but someone give me a solution     
asked by 05.12.2018 / 04:35
2
answers

How can I see from the cmd if port 8080 is open?

How can I know if port 8080 is open? I am using a server with Windows     
asked by 13.04.2018 / 17:27
1
answer

Problem installing Yii2 via Composer

I'm trying to install my application in Yii2 via Composer but when I'm going to execute the following command in windows cmd composer self-update I get the following error composer no se reconoce como un comando interno o externo, programa o...
asked by 28.03.2018 / 03:22
1
answer

Written line is too long - CMD

I try to make the following command in CMD to save% PATH% with line breaks in a text file. "@echo. %PATH:;= & @echo.%" > path.txt With this I try to do it with line breaks to then make an findstr from that file. But I get error The w...
asked by 29.09.2016 / 23:40
1
answer

block / unlock powershell

I have this bat script to block / unlock powershell but it does not work on x64 (and sometimes not on x86) and sometimes I manage to block it but not unlock it (Could not start CLR, HRESULT: 80070005.) and doing a Get-ExecutionPolicy - List Ma...
asked by 11.10.2016 / 21:08
1
answer

How to automate the file name in bat file

The following code opens a db file (sqlite language) and exports the resulting query to a file on my desktop. Up here all good. What I want is for the file name to be different every time the batch is executed. sqlite3 -cmd ".headers on" -cmd...
asked by 30.08.2018 / 17:43
0
answers

Copy of last file in Robocopy

I am using robocopy and I have a little doubt. Does anyone know how I can do to copy the files .rar but only those that were created today? This is the sentence I have but it does not work for me: robocopy "C:\Users\Usuario\De...
asked by 28.12.2018 / 09:51
0
answers

Send text to a window (Python)

I have to execute a cmd command from python and I do it using subprocess: The command in cmd would be "gpg -d filenameEncriptado.gpg", in python it would be something like this: import subprocess subprocess.call(['gpg' ,'-d', 'nombreArchivo...
asked by 05.12.2018 / 22:24
0
answers

CMD - Batch with FTP - Error raising excels (.xlsx) [closed]

The .bat uploads the file but it seems to corrupt it, it marks me that it uploads correctly and I check in the FTP and in fact I see that it has been uploaded but when opening it (downloading it to the PC or opening it with a php library) it say...
asked by 25.04.2018 / 17:18