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

autostart.inf

Discussion in 'Support' started by drrob1, Nov 21, 2009.

  1. drrob1

    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?
     
  2. drrob1

    drrob1 Guest

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Never got an answer, so I'm reposting

    drrob1 wrote:

    -----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-----
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,870
    Likes Received:
    83
    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
     
  4. dim

    dim Dimitry Andric

    Joined:
    May 31, 2008
    Messages:
    203
    Likes Received:
    0
    On 2009-11-22 04:45, drrob1 wrote:

    Try the following:

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

    where x: is the drive letter of the autorun.inf file.
     
  5. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    || 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
     
  6. dim

    dim Dimitry Andric

    Joined:
    May 31, 2008
    Messages:
    203
    Likes Received:
    0

Share This Page