Questions tagged as 'cmd'

0
answers

Copy the result of a search to another directory in CMD

I'm new using the console I'm trying to copy the result of a search to a specified directory C:\files> dir *SILC*.* the result of the previous command I want to copy it to the path D: \ files Any suggestions? Thanks     
asked by 16.08.2018 / 01:06
0
answers

Problem with PHP composer in windows CMD

I have a problem executing the following line in the windows 10 CMD php composer.phar require phroute/phroute The problem is that nothing happens, the courses stay in blink and the cmd does not do anything, I do not know what it could be, a...
asked by 31.07.2018 / 03:28
0
answers

Open Bat as administrator from the command line of Bat himself

Is it possible for the bat to auto-execute itself as an administrator without having to right-click and execute as administrator? I've tried with: Runas /user: %computername%\admin But it asks for a password, it's with the RunAs command...
asked by 21.07.2018 / 22:49
0
answers

CMD ADB error: device still authorizing

Hello everyone. It turns out that I put my cell phone in Ultra Battery Saver mode and that deactivated that I can enter with my fingerprint. He asks for my PIN but I really do not know, I established it a long time ago and I do not remember. I...
asked by 05.07.2018 / 02:32
0
answers

Error getting the MachineGuid value from the Windows 7 registry

I'm trying the following code class StreamGobbler extends Thread{ InputStream is; String type; StreamGobbler(InputStream is, String type){ this.is = is; this.type = type; } public void run() { try { InputStreamReader...
asked by 28.06.2018 / 20:16
1
answer

Problem with script to move files

I am trying to create a script (cmd) in Windows to move files of any type of extension from one folder to another but it is giving me problem after problem, every time I execute it I get the error "You can not find the specified route", I've a...
asked by 23.06.2018 / 13:50
0
answers

Administrator account in .bat

I am programming a .bat that opens a file as an administrator with a runas. This is the (simple) code: runas /user:%computername%\%username% /savecred "C:\Users\Usuario\Desktop\ola.bat" Like I can automatically type the name of the computer...
asked by 02.06.2018 / 16:24
0
answers

Problem with "quotes" and Paths in a CMD script (Batch), passing arguments to an EXE

Something very strange is happening to me with this script. For some reason the variable% PTH% is giving problems with the quotes, and because of this you can not use PATHs that contain spaces. @echo off set CurrDir=%cd% set BatchFileDir=%~dp0...
asked by 29.05.2018 / 18:28
1
answer

Autocomplete content in a text document with cmd.exe

I have the following temp.txt with these contents: 01. título a.flac 02. título b.flac 03. título c.flac I convert to the following metaflac.txt template: metaflac --set-tag=TITLE="" --set-tag=TRACKNUMBER= "01. título a.flac" meta...
asked by 22.05.2018 / 14:27
0
answers

I want to create unattended installers for windows 10

I have tried to create unattended installers for win 10 but I have not been successful, I have researched in many pages where they give lines of code for installers but I have not been successful yet. for example try with this one of chrome and...
asked by 22.05.2018 / 01:19