Most voted "windows" questions
Microsoft Windows is a family of operating systems created by Microsoft, a company founded by Bill Gates and Paul Allen. Prior to the NT version, it was a graphical interface to the MS-DOS operating system. Windows is a commercial product, with differentiated prices for each of its versions.
Learn more…704 questions
Sort by count of
-
3
votes2
answers13268
viewsHow to delete files in a directory with batch script?
I need that when executing one script cmd. it erases all files with the following extensions: .txt and .mp4 if any. These files are located in the following folder C:\comando\batch\diretorio\teste…
-
3
votes1
answer61
viewsHow does the operating system distribute the processor across the various programs?
In current operating systems there is possibility of having several programs running. It is the work of the operating system to ensure that all programs have opportunity to perform work (process…
-
3
votes1
answer356
viewsHow can I change file attributes in windows with python?
I am trying to keep a file . txt hidden. How can I do this using python command line?
-
3
votes1
answer73
viewsError passing grid view parameters of a form in combo box
Good morning, I have a form where I consult my budgets and in it I own a grid view. When I double-click on the grid line it opens another form. But I do not see the data that is in the line of my…
-
3
votes1
answer353
viewsHow to pass response from one command as argument to another command?
In linux I do something like to take the answer of a command and pass as argument to another: ./program `ruby -e"puts 'Oh' * 3"` In case what is between the accents (ruby -e"puts 'Oh' * 3") will be…
-
3
votes2
answers2422
viewsHow to get a list of processes running windows in python?
I would like to know how to get the processes running from windows and store them in a list in python. from os import system system('tasklist') I know that the code above shows the processes, but I…
-
3
votes3
answers3141
viewsHow to monitor a file in real time on Windows?
When deploying services and applications to servers, be able to monitor the log seeing all the updates as soon as they occur, greatly facilitates this task. On Linux, I use Tail which only loads the…
-
3
votes0
answers621
viewsCall to Undefined Function fastcgi_finish_request()
I have a Linux server where php is configured with Nginx + fcgi. The function fastcgi_finish_request works correctly as expected. I have another machine with Windows 10, configured with apache +…
-
3
votes1
answer887
viewsHow to make your program reliable - windows security
I finished a step of a program and we will start to put in production, however, when running the program is always displayed the message below: What should I do to make my program reliable? and stop…
-
3
votes1
answer1865
viewsStore user logged in variable . bat
I have to create a bat to automate the installation of the company’s standard programs, but one specific is giving me a headache. The installer of one of the programs by default creates the path C:…
-
3
votes1
answer5883
viewsWhat is it for and where can you use C#?
A lot of people talk too much about C#. What is the real functionality of it today? It’s serious that it can be linked with Javascript and CSS? It serves to create applications for Windows, Android…
-
3
votes2
answers1238
viewsCreate key in windows registry without permission in c#
My application needs to insert itself into the Windows Defender exclusions. Simply create a Myapp.exe key on the way {HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Exclusions\Processes},…
-
3
votes2
answers231
viewsWhat is the difference between " - " and " / " in CMD commands
What’s the difference of using the - and the / in the CMD for example in the command: shutdown -s or shutdown /s…
-
3
votes1
answer551
viewsOpen multiple programs on different desktop using script in windows 10
I’m wanting to open some programs on different work screens that I have to use frequently. And I was wondering how do I make a script to automate this. I made a simple little script. bat to make it…
-
3
votes1
answer1177
viewsHow can I run my script when I’m sure it’s run as administered?
I want to run a batch(.bat) and check if it was opened as an administrator, here’s an example of what I want on linux: if [ `whoami` == 'root' ] then echo I am root else echo I am not root fi I…
-
3
votes1
answer753
viewsHow to run a script without worrying about special characters?
I made a batch for windows to install some programs and make settings automatically, it worked normally, but when doing a test using a folder that had space in its name it stopped working, put in…
-
3
votes0
answers202
viewsHow to open CD-ROM in C?
I want to create an algorithm in C to open and close the CD-ROM drive, I took a look at some tutorials but they ended up not working. I would like to know which libraries you should use.
-
3
votes1
answer327
viewsNode.js V6.11.5 error in Windows 10
I installed Node.js to study Angular 2, I downloaded it from the Node website, but after installing, when I type npm start in cmd of my PC, I get the error below, I am giving command in file folder…
-
3
votes1
answer1265
viewsList specific directory in Windows - Filter in the list
I have the scenario with the following directories in alphabetical order: Y:\imagens\A001\B001\imagem.jpg Y:\imagens\A001\B002\imagem.jpg Y:\imagens\A002\B001\imagem.jpg…
-
3
votes1
answer5527
viewsHow to run the cron of Schedule:run on Windows
I created a cron that should check every minute that the value of the end date is less than the current one... if yes should update the status field of this table. class SetStatus extends Command {…
-
3
votes1
answer63
viewsWinforms application stops working if computer goes into hibernation
I have an application in winforms, which is on the company server, so I pull the shortcut to the desktop and the collaborator runs normally. The problem started to happen, when we exchanged some…
-
3
votes3
answers2628
viewsscript for printer installation automation
Good afternoon guys, I have in my environment a print server with a total of 63 printers installed and shared on the network, I would like a script for automating the installation of these printers…
-
3
votes1
answer48
viewsPublish applications in Stores that differ by small details
I see some applications that are very similar I will say until identical but with a different mark or a small detail. Let me give you an example: Globosat has multi-channel apps, but it’s all the…
-
3
votes3
answers1953
viewsBatch script to rename file extension recursively
I need a script in bat that allows to rename all files with EXTENSION *.rar to *.cbr , need to rename any file in the subfolders from the root D: Downloads. The command I made is like this ( Ren…
-
3
votes3
answers1061
viewsKnowing when your computer was Turned On / Off / Stopped
I wanted to know when the computer was switched on, off or interrupted. If I turned on my computer from today’s date, then I want to know the time and date it was turned on. On shutdown the same…
-
3
votes1
answer80
viewsIs it possible to include the necessary . NET to run a standalone application?
The title may be confusing, but the goal is to make an application written with . NET run without the . NET Framework. In practice this is almost impossible because the application depends on the .…
-
3
votes1
answer326
viewsHow to open an executable that requires elevation via C#?
The code provided below seeks to be able to open an executable file so that it is possible to pass arguments to it once it has been opened. For the code as it is displayed, error returned is:…
-
3
votes1
answer279
viewsCannot use tskill in C#
The tskill command when used via C# (Visual Studio) returns this error: 'tskill' not recognized as an internal or external command, a operable program or a batch file However the same command when…
-
3
votes1
answer431
views -
3
votes0
answers23
viewsError creating new CSV + Javafx + Windows file
Good morning, everyone. I have a java desktop (javafx) application that saves some configuration data in a CSV file. The jar of the same works perfectly in both OSX and Linux, but not in Windows, I…
-
3
votes1
answer527
viewsProblem with special python characters
I have a bot made in Python with the Selenium webdriver, which takes some data from Tesouro Direto and generates a json, however I am facing a problem, which occurs when a special character appears.…
-
3
votes2
answers1000
viewsHow to get the pid of a windows process right after the process is run
How to get the pid of a windows process right after the process is executed, similar to the command $! that retrieves the pid from the process that was executed needed in a way to grab that pid from…
-
3
votes0
answers80
viewsDetect if the folder or file is hidden or not in Windows with PHP
I’m listing Windows directories with scandir() of PHP, this way shows all items of the location, and would like to know if it is possible to check whether the folder or file displayed by PHP is…
-
3
votes1
answer40
views -
3
votes2
answers146
viewsError concatenating string from path
In this program right at the beginning has a function that creates a folder in the user’s documents to save some information Giving a research I came to the conclusion that it should stay like this:…
-
2
votes4
answers24621
viewsProgram to manage Mysql database on Windows?
Can anyone tell me any program to manage database mysql on Windows? On Mac I use a call Sequel Pro, but it is only for Mac. Does anyone know anything like?…
-
2
votes1
answer54
viewsChange mouse cursor using WINAPI
I cannot change the mouse cursor when I release the right mouse button. Part of mine code: case WM_RBUTTONUP : SetCursor( LoadCursor( hInstance, MAKEINTRESOURCE(IDC_MEUCURSOR1))); ShowCursor(TRUE);…
-
2
votes2
answers32709
views"Windows. h" library, what can I do?
I’m starting in C language and would like to know what the "Windows. h" library matches?! it is responsible for what?! what kind of functions it allows me?!
-
2
votes2
answers304
viewshow to terminate program in windows from Matlab?
Is there any way to terminate a program in windows from a command in Matlab? Possibly using a batch... but I don’t know the commands to manage programs in windows or how to run it from Matlab. I can…
-
2
votes1
answer68
viewsProblems in the installation of Grails
I set the variables GRAILS_HOME and JAVA_HOME that I used to use for the Griffon, but when trying to access the Grails I get the following error:…
-
2
votes1
answer11259
viewsPython with Windows Form or graphical interface
Hello, I’m a beginner in Python 2.7 and I’m wondering how to apply GUI in applications developed with Python, just like html does the interface for php and visual studio is used to make windows form…
-
2
votes1
answer807
viewsApplying recursion in a batch script
Some time ago I came to the need to use the Microsoft Office Document Imaging to convert a document template created in Microsoft Word as an anti-copy prevention measure of the model itself…
-
2
votes1
answer198
viewsSend email via PHP in windows server 2008 R Standard with wampserver 2.0
I am using wampserver 2.0 in windows server 2008 R2 Standard. On the server is installed the SMTP Virtual Server. In php.ini I have the following configuration: [mail function] SMTP = 000.00.000.000…
-
2
votes1
answer61
views -
2
votes1
answer691
viewsGet titles from open windows
I have a C++ program that arrives in a certain part that I need to check if a window is open, if it runs a part of the code. How could I take the windows open and do this check? I found a link that…
-
2
votes3
answers389
viewsHow to find a string in a Crystal Reports file in windows
Basic situation : Crystal Reports of a directory use in some cases Stored Procedures as the Data Source, if I try to locate a Stored Procedure that exists say "My_procedure" by the Windows Find in…
-
2
votes3
answers226
viewsHow to use Getsetting/Savesetting in Windows Services
I created a service and configured it as Localsystem. In the implementation I try to search for a record saved on REGEDIT by another programme. The method GetSetting always returns me empty. Is…
-
2
votes1
answer319
viewsHow to make a simple Hello World using C conventions?
Knowing a little of the conventions in C and the generalization of code that it can provide us, I tried to implement my "Hello World": global main extern printf section .data helloworld db 'Hello…
-
2
votes0
answers77
viewsWindows 8 push notification with PHP
I wanted a very simple example of how notifications are made windows 8 or 7 with PHP.
-
2
votes1
answer184
viewsProgram crashes after stack allocation and call in C
I’m trying to make a simple program: allocate on the stack an integer, calls scanf from the C library and print it on the screen. I’ve done the same Disassembly in C, and I try to reimplement it,…