Questions tagged as 'cmd'

1
answer

Recovering the HD Serial from C ++ without using WMI

I need to get the MAC and Serial HD volume (in the cmd is "vol C:"), I got the MAC by the code: private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { UCHAR MACData[6]; char cWork[20]; UUID uuid;...
asked by 21.07.2015 / 19:54
2
answers

Store various information in a batch notebook

Good morning, I'll contextualize first. Basically I'm doing an "interactive story", where basically, during the progress of the story I'll have 3 variables. I could save these variables with the set command within programming and it would work,...
asked by 14.11.2018 / 12:03
1
answer

Delete file with name and path in another .bat file

I need to develop a batch that has to read the data in a .txt file, and according to the path and filename I have in txt the batch has to go to the folder and delete files. The data I have in this file is the result of an sql query. To exempl...
asked by 09.11.2018 / 00:12
1
answer

How to configure .exe compatibility mode through the prompt?

I'm creating an application in electron, but the notifications only work if the application is running in compatibility mode with windows 7. I currently ask the user to right click the .exe, go to properties / compatibility / compatibility mo...
asked by 10.10.2018 / 14:39
1
answer

React-Native Command Propt

Does anyone know of any way to create a bat that is already executing this command one after the other? Open the CMD in the document folder Cd usuário Cd principal Cd appdata Cd local Cd Android Cd SDK Cd plataforms- tools Re...
asked by 09.10.2018 / 13:43
0
answers

List print server printers installed from a remote station

Work in a company that has the following structure: Each city in my state has a head office with a server that is also a print server, the printers are located here. I use the Systernals psexec together with a command to install the printe...
asked by 06.09.2018 / 20:15
2
answers

batch files - find directory of the current file

I have a batch file that causes the cmd to point to another directory. But at some point, I need it to go back to the batch file's own directory. Is it possible to do this?     
asked by 28.08.2018 / 14:48
1
answer

How to execute and capture the output of a command line in C #

Person, is as follows. I have an application that works on the command line. This application receives parameters by command line, eg: program.exe [parameters] I want to make an interface where I run this application by passing the commands and...
asked by 25.07.2018 / 17:51
1
answer

Error while running mobile react-native app

Running react-native run-android gives the following error: FAILURE: Build failed with an exception. What went wrong: Execution failed for task ': app: mergeDebugResources'.    Error: java.util.concurrent.ExecutionException: co...
asked by 04.08.2018 / 04:50
0
answers

APK being generated incomplete

I am generating an APK for cmd, however, it is being generated half the size of it. It should have 4KB is generating with 2KB. When I open it on my phone, it only gets caught on the home screen. Does anyone have any idea what it might be?     
asked by 15.06.2018 / 14:51