Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
rundll32 url.dll,FileProtocolHandler https://bsu.by
What does each word mean and why does it eventually open this link in the default browser?
It's a rather old utility that loads a DLL (with LoadLibrary), finds an exported function (GetProcAddress), makes its best guess about the expected parameter types from the looks of its command line, and invokes said function. In this case, since there's one parameter and it's not a number, rundll would assume - a single string (LPCWSTR).
Related
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 5 months ago.
Improve this question
I need less to display a file without any additional formatting characters.
I found the --tilde option, which got rid of the ~ characters.
Now I only need to get rid of the:
(END)
or
<filename> (END)
at the and of the page.
I am happy to recompile less , if somebody can suggest what needs to be changed in the sourcecode.
I am using less 487 on Debian 10.
You configure the prompt with -P, for instance, this will no longer show the filename or END (but still the :):
less -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 2 years ago.
Improve this question
How do i get my Machine Name, Kernel Version, Uptime and Current Date shown on one line using a colon as a delimiter ?
I have already tried a few commands but doesnt get displayed in a line
echo "$(hostname):$(uname -r):$(uptime | cut -d " " -f 4,5,6):$(date)"
Once you know the commands required, you can expand them in a single echo statement formatted as required.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I tried to find the usage of NtqueryDirectoryFile() function.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff556633%28v=vs.85%29.aspx
I refered the above link for this. But, They mentioned about Zwxxx (). I couldn't understand Ntxx and ZWxxx. Can anyone explain about this.
Basically Zw functions are equivalent of Nt functions except they don't do security checks, so are used inside kernel mode only, to avoid the performance penalty.
You can only call Nt functions from user mode, through ntdll.dll. As Michael pointed out Zw functions are just mnemonics to Nt counterparts in user mode.
#Adriano provided a nice link: http://msdn.microsoft.com/en-us/library/windows/hardware/ff565438(v=vs.85).aspx
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am trying to query Windows Event log for events and am a bit stuck at which approach to use. Windows Developer documentation lists two examples (and approaches) of querying log data.
Querying for Events
http://msdn.microsoft.com/en-us/library/aa385650%28v=vs.85%29.aspx
using EvtQuery function
Querying for Event Information
http://msdn.microsoft.com/en-us/library/windows/desktop/bb427356%28v=vs.85%29.aspx
If anyone has experience querying for event data, are these two approaches equal? Or is any of them outdated or not recommended for actual use? I am new to Windows programming and not really found any recommendations regarding any of these approaches on MSDN.
http://msdn.microsoft.com/en-us/library/aa385650%28v=vs.85%29.aspx using EvtQuery function
The difference is in the use of header. This approach is simpler but you will need to design either an XML or structured XML query.
http://msdn.microsoft.com/en-us/library/windows/desktop/bb427356%28v=vs.85%29.aspx
If you need more flexibility in the format of the returned events (like time stamp format) use this approach. This is harder but gives more flexibility if you need control over the format of the extracted data.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anybody know of an automated xdotool script generator? Ideally, I would like to record a series of actions on my desktop and have it automatically made into an xdotool script for me instead of manually adding pauses and counting pixels, etc.
I can't say for sure without knowing more about what you want to do, but I think you might want to use xmacro instead. There is a good tutorial here:
http://linuxpoison.blogspot.in/2012/03/record-play-keystrokes-and-mouse.html
Here's a summary:
# Start recording macro.
xmacrorec2 > macro.txt
# Select a keystroke to end the macro.
# Do stuff.
# End the macro with the previously chosen keystroke.
And to run the macro:
xmacroplay $DISPLAY < macro.txt
The blog post notes that timing information is not recorded.