Questions tagged as 'windows'

2
answers

How to delete files in a directory with batch script?

I need to run a script.cmd to delete all files with the following extensions: .txt and .mp4 if they exist. These files are located in the following C:\comando\batch\diretorio\teste folder and script.cmd is located at C:\coman...
asked by 23.10.2016 / 06:16
1
answer

Delphi - Find out if the application has administrator privileges.

Good afternoon, I need to know if an application written in Delphi is running with administrator privileges or not. Does anyone know of any way to get this information?     
asked by 04.08.2016 / 20:40
1
answer

How to extract the icon of an .exe file using python?

I simply had the need to have a .ico image file extracted from an .exe file and I do not even know how to start it. How can I do this?     
asked by 14.04.2017 / 21:59
1
answer

How does the operating system distribute the processor through the various programs?

In the current operating systems there is the possibility of having several programs running. It is the job of the operating system to ensure that all programs have the opportunity to perform work (processing code instructions). Everything wo...
asked by 02.12.2016 / 13:40
3
answers

How to monitor a real-time file in Windows?

When deploying services and applications on servers, being able to monitor the log file by viewing all updates as they occur, greatly eases this task. On Linux, I use tail which only loads the end of the file and is therefore great for...
asked by 28.03.2017 / 14:27
1
answer

Make Java application run as Service

I have a Java application and would like it to run as a service in Windows. I researched the net and saw some ways of doing it being some more practical and some confusing. Anyone who has done something like this could indicate which path they u...
asked by 01.06.2016 / 22:52
1
answer

IIS works only on localhost

I'm using IIS on a Windows Server 2012 R2, by AWS Amazon EC2. But I have a problem, I can only access the site on localhost. When trying to access another machine through IP, it returns the following error: ERR_CONNECTION_TIMED_OUT Follow t...
asked by 23.09.2015 / 04:15
1
answer

Checking Directory (WINDOWS)

How do I check if a directory exists using C ++ and Windows API ?     
asked by 13.05.2015 / 21:28
2
answers

Batch to find service with special character

I'm trying to make a batch to connect a Windows service that has a special character "Ç", but I could not get into any viable code. I always get the 1060 error. This is more or less the structure of my bat: SC QUERY "Serviço Bonjour" > N...
asked by 13.10.2015 / 15:22
1
answer

Get open window headings

I have a program in C ++ that comes to a certain extent that I need to check if a window is open, if it does execute a part of the code. How could I get the windows open and do this check?    I found a link that could help with this, the l...
asked by 05.12.2014 / 14:27