Closed. This question is not about programming or software development. 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 days ago.
Improve this question
I am trying to do a setup so that at startup a program is started in hidden mode (not shown in the taskbar, only in Task Manager).
So the solution recommended by many and which I want to use is to in the registry, inside the key
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
add a string subkey with the path of the exe file and the attribute /HideWindow
So I am using the good old Notepad as the test program and created a subkey with the value
"C:\Windows\notepad.exe" /HideWindow
But at startup, the argument is seen as a text file which Notepad attempts to open and fails,
and it throws the error message "Cannot find the /HideWindow.txt file"
I tried with - instead of / and it's the same error.
I also tried with all text in quotation marks, like: "C:\Windows\notepad.exe /HideWindow"
and in this case there is no error message, but the program is not started either.
So I was wondering if there is a way to make /HideWindow being interpreted correctly,
And hopefully for any program, not just for a particular one (such as Notepad)..?
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 1 year ago.
Improve this question
Some application created several files with completely incorrect names in NTFS HDD because of incorrect input data. These files have lots of unrecognizable symbols including Unicode control characters and other "nice" things in their names, and they don't want to be deleted via common Windows 10 x64 Explorer method (with the "Element not found." error). I also tried to use CMD, but it doesn't work too, as mush as Unlocker and LockHunter don't, even with delating during restart function.
Use the TAB button while trying to select the file while working in commandline (TAB shows you the name of a file, as it can be used in commandline commands, dir or del).
Try this:
Prompt>DIR <TAB> <TAB> <TAB>
You should see:
Prompt>DIR first_file
Prompt>DIR second_file
Prompt>DIR third_file
When working with the Windows explorer, there should be no issue at all.
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
I had filled in an application form in which I made a payment and copied the application number by "Ctrl+C" command (and unfortunately I didn't note it anywhere).
And after that I copied some other thing but I didn't notice my application number has washed off from the temporary memory. I even tried to login but was unsuccessful.
I now need help: is there any method to print all copied things (I have not copied any file only some text like email id's and else). I have not turned off my PC since that. Please tell is there any method to print on note pad or any other?
Windows Systems do not save the clipboard history. There is only one item stored in the clipboard. If you copy something new the previous clipboard contents is overwritten and lost forever. To get the full Microsoft clipboard history you need to use third-party utilities such as clipdiary or Clipboard History extension.
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
I have the following line of code in a batch(.bat) file that I have to run:
"c:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exe" /p:desktop MfeArcGis10.UI.dll
When I run this batch file, the ESRIRegAsm.exe is executed but I get the following error:
Can someone explain what this batch script is doing. From what I understand it is executing the executable with two arguments, however I do not know what the first argument means. Also what does the given error mean? How would I fix it?
First, take a look at Calling esriRegasm manually (outside an ArcGIS-installation).
It looks like MfeArcGis10.UI.dll is a plugin / dynamic linked library (DLL). It is necessary to register components/classes of this DLL in Windows registry under HKEY_LOCAL_MACHINE for usage by ArcGIS. This registry key requires administrator privileges for write access.
So you need to right click on this batch file and click in context menu on Run as Administrator, enter the password for the administrator account, and then the registration process should work.
Note: The batch file must be in same directory as file MfeArcGis10.UI.dll or ESRIRegAsm.exe will not be able to find the plugin file containing the information which must be added to Windows registry.
More useful pages How to register COM components containing also a link to ESRIRegAsm utility. The last page explains option /p:.
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