Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

autostart.inf

  • Thread starter Thread starter drrob1
  • Start date Start date
D

drrob1

Guest
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?
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Never got an answer, so I'm reposting

drrob1 wrote:

> 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?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksKgWgACgkQVRqaVGo2lhweDgCeKjEMJG1HKHHr9LCQ4hmsYsOu
QY8AnAihP2MFZ1CnoY+QlKisopyOy2Pa
=63Hi
-----END PGP SIGNATURE-----
 
> > 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 of)
to execute an .INF file.

Rex Conn
JP Software
 
On 2009-11-22 04:45, drrob1 wrote:

> 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?

Try the following:

start %@iniread[x:\autorun.inf,AutoRun,open]

where x: is the drive letter of the autorun.inf file.
 
|| 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
of)
| 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?
--
Steve
 
Back
Top
[FOX] Ultimate Translator
Translate