• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

autostart.inf

D

drrob1

Guest
#1
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?
 
D

drrob1

Guest
#2
-----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-----
 

rconn

Administrator
Staff member
May 14, 2008
10,309
93
#3
> > 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
 

dim

Dimitry Andric
May 31, 2008
204
1
Netherlands
#4
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.
 
#5
|| 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
 
Top Bottom