NirCmd - Windows command line toolWhat language is used in the above code. For example this "clipboard saveimage", where does it come from? Where can a simple user like me read more about expressions like that?
NirCmd Command Reference
HTH
Roman
Moderators: white, Hacker, petermad, Stefan2
NirCmd - Windows command line toolWhat language is used in the above code. For example this "clipboard saveimage", where does it come from? Where can a simple user like me read more about expressions like that?
I'm using a portable TC installation together with other portable installed programs referring there location with relative addressing relative to %CommanderPath% (home path of TC).Ahu_Lee wrote:1) What do the dots do in this line below, what's their pupose?.Code: Select all
%COMMANDER_PATH%\..\SYS\NirLauncher\NirSoft\nircmd.exe clipboard saveimage
32Bit PNG does have an alpha channel(transparency).2) NirCmd program saves .png as 32bit. What parameters (or arguments.. whatever they are called) should I use to have it saved as 24bit. There's no real reason for that, but I think I'd just prefer it be more like MS Paint.
Code: Select all
---------------------------
Paint
---------------------------
Any transparency will be lost if you save this picture. Do you want to continue?
---------------------------
OK Cancel
---------------------------
Commandline parameter for nircmd3) What language is used in the above code. For example this "clipboard saveimage", where does it come from? Where can a simple user like me read more about expressions like that?
Thank you for these links. The first page you gave me the link to was the reason I asked. It only shows examples without actually explaining commands and there was nothing on "clipboard saveimage". The second one I somehow missed and is exactly what I need. Thank you once more.Hacker wrote:Ahu_Lee,NirCmd - Windows command line toolWhat language is used in the above code. For example this "clipboard saveimage", where does it come from? Where can a simple user like me read more about expressions like that?
NirCmd Command Reference
HTH
Roman
I understand your reasoning behind all of that, but I still don't understand the implementation part.HolgerK wrote: I'm using a portable TC installation together with other portable installed programs referring there location with relative addressing relative to %CommanderPath% (home path of TC).
.. does simply mean : one folder up.
c:\Tools\Totalcmd <- TC's home path
c:\Tools\Sys\NirLauncher\NirSoft<- Nircmd's path
Benefits:
I can move/rename/copy the complete Tools directory e.g. onto an USB stick or any other drive and use TC and all Tools linked via buttons from TC without adapting the paths.
Code: Select all
%COMMANDER_PATH%\..\SYS\NirLauncher\NirSoft\nircmd.exe clipboard saveimage
Thank you for this explanation. Yes, Paint.Net looks awesome and its interface is very smart. Though It's a little bit slower.32Bit PNG does have an alpha channel(transparency), it is the better format for other clipboard images and does not make a big difference in size (less than 1% more bytes).
Thank you.Complete list of all available parameter:
http://nircmd.nirsoft.net/
Nope. Replace %COMMANDER_PATH% with Holger's path C:\Tools\Totalcmd and you'll see that it's alright. To elaborate it a little bit more, here's what the path tells TC to do: %COMMANDER_PATH% is C:\Tools\Totalcmd, from there go one level up (that's the \..\ part), so we are in C:\Tools now. Next go to SYS\NirLauncher\NirSoft subdirectory and execute nircmd.exe. Hope it's understandable now .Ahu_Lee wrote:So, thisdoesn't make sense to me, because I basically interpret it as follows: the SYS folder is a subfolder of some other subfolder (that can have any name) of the folder Totalcmd, while in fact your SYS folder is not even within your Totalcmd folder but has a completely independent path.Code: Select all
%COMMANDER_PATH%\..\SYS\NirLauncher\NirSoft\nircmd.exe clipboard saveimage
I really appreciate your help, Dalai. It all makes perfect sense to me now. Thank you very much.Dalai wrote:Nope. Replace %COMMANDER_PATH% with Holger's path C:\Tools\Totalcmd and you'll see that it's alright. To elaborate it a little bit more, here's what the path tells TC to do: %COMMANDER_PATH% is C:\Tools\Totalcmd, from there go one level up (that's the \..\ part), so we are in C:\Tools now. Next go to SYS\NirLauncher\NirSoft subdirectory and execute nircmd.exe. Hope it's understandable now .
Regards
Dalai