Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I tried to run a program called MSIAfterburner with no windows
But nothing works
I tried
Quiet.exe
Nircmd.exe
I tried some python scripts and JavaScript & Powershell and VBS. And every time it was showing the window of the program
Can somebody help me?
Neither quiet.exe nor nircmd.exe come with windows by default. I believe this MSIAfterburner program you are referring to is a graphics overclocking utility, which is a windows application, as opposed to a console application.
Therefore, if you for whatever reason want to run it without a window, the easiest way I can think of would be to launch the program in a different session using psexec -i 0 (run it as admin) from here.
If you want to run it without a window without admin privileges, the best I can think of would be to use the winapi ShowWindow(handle_to_the_app_main_window, SW_HIDE).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I don't want the window title name of the command line to change. When i make shortcut or open it in different location, window title name of cmd is changing. How can i stop it?
Thanks.
In short: you can't. CMD.EXE internally calls SetConsoleTitle (or some equivalent), and there isn't an option to stop it from doing so.
What you can do is manually reset the title after each command (for example when you run a batch file with multiple commands inside and want to end up with some specific title). Use the title command to do so from within a batch file or from the command prompt interactively.
(There are also more involved options, but they all have quirks.)
I think some console alteratives (like Windows Terminal or ConEmu) let specify that the title should not change, but I'm not sure, you'll have to try.
Maybe clarify your question with what you are really trying to achieve, or why the changing title is an issue for you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a logon batch script that runs a .reg file for all user when they log in. here's my script
#echo running
REGEDIT.EXE /S "C:\user_files\user.reg"
Now my concern is that the batch file itself is located in
C:\Windows\System32\GroupPolicy\User\Scripts
Every user has access to this directory. So anyone can change the batch and may cause security threat. Is there a way to make it more secure. or is can I do something similar with PowerShell scripting so there's no batch. If someone could point me to the right direction would be very helpful.
your script needs to be readable by your users, but you can take away their rights to modify it -- that's a typical file system feature that every Windows since NT has (aside from windows 9x, of course).
Hence, simply remove the write privileges from the user group in which your users are, and you're fine.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am looking for a way to remotely install a program to other computer units running Windows on the fly ,without the need of running the installer steps on each computer (next,next,finish...) all over again , .exe installers don't usually have an easy way to do this without using the GUI installer.
a solution that i came up with , running the installer on a single pc
and try to trace each file the installer adds (location,file names,registry files) using FileSystemWatcher then copy these files and send them to the desired hosts that need the program installed with the location of each file will this work ? is there any easier implementation
the problem with FileSystemWatcher that although it detectes which files have been added,edited or deleted its not capable to tell which process did the change ,Why would i need to know ?,other programs depends alot on files and will keep editing them so i need to isolate the installer process to easily study how its functioning and what files are added..
the only way that i know to overcome this problem is developing a file system filter driver...
please give me your opinion or some recommendations on which is the best way to do this ,sorry for my bad english .
Almost every modern installer has some way to perform a silent install. You may need to do some digging to find the answers, or ask the publisher. Try running the installer with /? as a command line switch and see what it tells you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Mac OS X has a neat little command-line function 'open'.
% open <file>
Does whatever a double-click on that file would do. But via the command-line (Terminal).
Does Windows have something like this? How do I get a non-executable file to be opened with the default program in the OS for that file-type?
I think it is start "<file>".
If it's a recognised file type, you can simply type the filename, and it will open it in your preferred application. For example,
my_favorite_porn.mp4
is not something you should do when your wife is nearby :-)
Note that, if it's a Windows application, it will auto-magically satrt in the background and your prompt will be returned to you. If it's something like a command-line application, it will run in the context of the current command window. If you want to start those in a separate window, you can use:
start cmdlineprog.exe
explorer <file>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
some program (sort of malware) is running on my windows 7 at startup, but my startup folder is empty (even after removing the hidden and system attrib of all the programs in the folder). But msconfig shows the script that was running.
This means that programs can run on startup without actually being in the startup folder.
Please help me by explaining, how these softwares do this, or any concept of startup that i am missing?
Thanks in advance.
From here:
Add a new startup application
Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run].
For each program you want to start automatically create a new string value using a descriptive name, and set the value of the string to the program executable.
For example, to automatically start Notepad, add a new entry of "Notepad"="c:\windows\notepad.exe".
Goto MSCONFIG and Remove the check mark for that particular App. then you are good go