Questions tagged as 'windows'

1
answer

How to debug a Windows service?

I did a Windows E-mail Service every 5 minutes and would like to know how to debug it. I saw several tutorials on the internet, but I could not perform debugging. Would anyone know how to debug the service?     
asked by 24.07.2018 / 19:53
1
answer

Use call only on batch files that contain expressions from another file

I have a directory with randomly named .bat files inside every .bat file in this directory I have unique names like: name1 name2 name3 ... I also have, within the same directory, a just.txt file. In this file, each line is a nam...
asked by 26.06.2018 / 01:42
1
answer

Create bat to finish Service

I'm trying to create a .bat file to terminate and start a service in Windows. To do this I first end the process after restarting the service But the command inside the batch file (.bat) does not find the process that is taskkill /f /im...
asked by 23.05.2018 / 15:36
1
answer

Erase an executable file (.exe) after finishing without knowing its location?

The bat file has been converted into an executable. The del "%~f0" command does not work! Will it be necessary to finish running the executable first taskkill /f "nome_do_executável.exe" and then delete it? Question: - How to l...
asked by 03.04.2018 / 15:30
2
answers

.bat file does not execute

I have a file with the following command to turn off some machines on the network. FOR /F %i IN (C:\estacoes.txt) DO SHUTDOWN /s /t 01 /m %i Where stations.txt is a file with the names of machines to be turned off. When I open cmd and ru...
asked by 18.01.2018 / 19:31
1
answer

Create a Scheduled Task in Windows XP 32-bit

I want to create or modify a task by command line, this on the same machine. I'm using the Schtasks command with argument /Create . But I got only in Windows 8 when I took the BAT for the machine Windows XP (32-bit) did not...
asked by 22.03.2018 / 21:58
1
answer

Cassandra installation error - DRIVER in python

Hello, I'm trying to create a development environment with python and Cassandra, but I'm having trouble installing the Connector in python, I'm following the environment that I currently have the error that I'm having to return. Operating System:...
asked by 29.12.2017 / 12:11
1
answer

I would like to know how do I leave my videos in this identical configuration in ffmpeg?

Format: MPEG-4 Format profile: Base Media Codec ID: isom (isom / iso2 / avc1 / mp41) File size: 202 MiB Duration: 22 min 9 s Overall bit rate: 1 278 kb / s Writing application: Lavf57.2.100 Video ID: 1 Format: AVC...
asked by 28.01.2018 / 01:12
1
answer

UnicodeDecodeError error: 'utf-8' codec can not decode byte when installing rpy2 with pip

I'm trying to install rpy2 which is a package to run R language in python, but gives the error: $ pip install rpy2 < Using cached rpy2-2.9.2.tar.gz Exception: Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\site-pac...
asked by 16.01.2018 / 02:12
2
answers

Is it possible to add extra classes to a dll?

The compiler even compiles perfectly, but for some reason when I run app.exe it returns an error, it follows my code: main.cpp #include <iostream> #include "cpp.h" int main() { ClassA * a = new ClassA(); std::cout <&l...
asked by 28.09.2017 / 22:22