Create a right-click command to launch trid.
1. Copy below and paste into Notepad.
----------copy-inside-only----------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\trid]
[HKEY_CLASSES_ROOT\*\shell\trid\command]
@="C:\\Windows\\System32\\cmd.exe /k C:\\PROGRA~1\\Tools\\trid.exe
\"%1\""
----------copy-inside-only----------
2. Replace C:\\PROGRA~1\\TRID\\trid.exe with the path to trid.exe.
(Note that it must be the short path, and double backslashes)
(Check the cmd.exe path)
3. Save-as TRID.reg (or any name + .reg)
4. Double-click or right-click and merge into the registry.
Now you can right-click on any file and see the results.
ju.c
AAaron123 said:
Shenan Stanley wrote:
AAaron123 wrote:
I have a DOS file that I would like to run by simply clicking a
short cut. The shortcut needs to open a command window and run the
exe there.
Is that possible?
Thanks
PS
I guess it is not really a DOS file.
What is the current nomenclature?
Same as it ever was - executable. You are giving it a name based
off the platform it was likely created to run on.
What is it?
trid.exe
A utility designed to identify file types from their binary
signatures.
The following:
cmd /k
in a batch script and in front of the path/executable name itself
might get you what you desire.
It gives me what I asked for but I now know that it is not what I
desire. What would be nice is for the command window to open with
trid.exe
at the prompt waiting for a file name.
Like so in the command window:
I:\My Documents\My Pictures>J:\Program Files\trid.exe
possible?
I know about "Start in" in the short cut.
I don't know how to write the Target to do the above.
Do I need a .bat file?
Thanks a lot