December 5, 200520 yr I posted this already some time ago, but there came no helping answer. Problem is, that I really need this:I want to add some commands, which I add to system32, e.g. cdburn.exe, to appear in the help-command ( when I type "help" in command line). Help would greatly appreciated.
December 12, 200520 yr want to add some commands, which I add to system32, e.g. cdburn.exeWhat you are adding are not commands, but command line applications. I think "help" just lists the Windows Command line Interpreter (cmd.exe) commands. Feel the difference?
December 12, 200520 yr Impossible!unless you can decompile and re-compile the help command, i just don't know how it is even possible...
December 12, 200520 yr Compile a HelpEx.exe yourself from a cmd file within the zip. Just click on Compile.cmd to compile it and you can add it to the systems path and just type HelpEx to list help information to console. It is low budget Help compared to Help.exe, but may suit your needs.Download: HelpEx.zipEdit1:@VADhehe, I guess Attrib, AT, ChkDsk, ChkNTFS, CMD, Compact, Convert, DiskComp, DiskCopy, Find, Format, Graftabl, Label, More, Print, Recover, Sort, Tree, XCopy and some of the other items listed in Help are only internal commands ? Those mentioned are command line applications. Feel the difference ? Edit2:I decided to implement the idea for my commandline tools in the systems path. It makes remembering what I have available....easier.PictureEdit3:New File Host link. Edited December 24, 200520 yr by MHz
December 13, 200520 yr @MHzThose mentioned are command line applications. Feel the difference ?Oh, yeah, I do Thanks for pointing out. I admit I've never paid much attention to it.
December 13, 200520 yr Author Thanks a lot for the replies. It's exactly what, I was looking for. And yes, I see the difference, but I nice to have a possibility to see, which command line aplications are available on the system.
December 19, 200520 yr Author While playing a little, I came through another question: Is it possible to overwriter the normal standard help.exe. I tried, even during installation, but the original file is always restored. Is it possible to overwrite the help command anyhow?
December 19, 200520 yr Create a cmd file and have the new Help.exe next to the cmd and execute.Del /q %SystemRoot%\System32\DllCache\Help.exeDel /q %SystemRoot%\System32\Help.exeCopy /y Help.exe %SystemRoot%\System32\Help.exepauseThe pause is just so you can see the result.A few seconds later, Windows will ask about inserting the Windows CD to restore the file, so just click cancel.
December 19, 200520 yr or I suppose...COPY HELP.EXE %SYSTEMROOT%\SYSTEM32\DLLCACHECOPY HELP.EXE %SYSTEMROOT%\SYSTEM32
December 23, 200520 yr Nice Yzöwl, but the new Help.exe in DllCache would be useless ? You made me review my batch and realize my 2nd line is perhaps useless as the 3rd line overwrites anyway without prompt.I think yours should be to delete 1st in dllcache then overwrite with the 2nd but you forgot the /y so you may get the prompt ?Your examples of DOS helps to expand my knowledge, thanks.
December 23, 200520 yr If the new copy of the help.exe isn't required in the dllcache directory thenDEL %SYSTEMROOT%\SYSTEM32\DLLCACHE\HELP.EXE&© HELP.EXE %SYSTEMROOT%\SYSTEM32The /Y should only be required if the command isn't invoked from a batch file. People do tend to mistake the /Q switch for DELETE as meaning quiet which is incorrect and should not be necessary in this case.However if you were unsure about the files attributes you could go withDEL /A %SYSTEMROOT%\SYSTEM32\DLLCACHE\HELP.EXE&© HELP.EXE %SYSTEMROOT%\SYSTEM32
December 23, 200520 yr People do tend to mistake the /Q switch for DELETE as meaning quiet which is incorrect and should not be necessary in this case.agreed. it is meant for global wildcards. *However if you were unsure about the files attributes you could go withDEL /A %SYSTEMROOT%\SYSTEM32\DLLCACHE\HELP.EXE&© HELP.EXE %SYSTEMROOT%\SYSTEM32Hmm, you lost me here. /A is for specifing an Attribute. If you do not not want to specify an attribute then why use /A ? i.e /A:H for hidden files. Perhaps your using /A when you do not need to ?
December 23, 200520 yr The /A switch without additional attributes is 'non-documented'If you try to delete any file at the command line which has System File attributes of (S) you will get an error message Could Not Find Drive:\Folder\SubFolder\file.extIf you use DEL /A:S file.ext and file.ext happens not to be a system file you will just get the Could Not Find Drive:\Folder\SubFolder\file.ext message again.The /A switch alone will prevent these scenarios in both cases and save you having to use the alternative method ofATTRIB -S file.ext&&DEL file.ext Edited December 23, 200520 yr by Yzöwl
December 23, 200520 yr @MHz tried downloading HelpEx.zip and its been removed can you please upload it again.Thanks
December 24, 200520 yr @YzöwlThanks for defining the /A switch. Nice to know it has that capability.@yoz7120Well that file hosting was awfully short . Uploaded to a different host, hopefully for a longer period this time.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now