|| I am looking for a command to execute the autorun.inf file using tcmd
|| 11. If I just type autorun.inf, the file is opened in an editor. I
|| want to execute the commands in the autostart.inf without turning the
|| autostart on for everything.
|| Can this be done using tcmd 11?
| There's nothing built-in to TCC (or CMD, or anything else that I'm aware
| to execute an .INF file.
The answer is yes, it is possible to write a batch file to do it,
though not perfectly. You need to know the exact specification of
each possible type of line in .INF files to do it, and build an
appropriate START command from them. At least one of the possible .INF
commands, "ICON=", cannot be implemented from TCC.
I am most interested in the reverse - how to write a .INF file
that will load and start TCC from a removable device, e.g., a USB
drive, with the ability to specify both the starting command line to
TCC, and the start directory. All I found so far is how to start TCC
with a path relative to the root of the drive, but cannot specify the
command line or the start directory.
Does anyone have a .INF reference?