Jump to content

uTorrent command line options


schnurlos

Recommended Posts

First of all: you can find that here too.

Command Line Options

There are several command line options you can use with µTorrent to make it behave differently than normal. Do note that these options can only be used when µTorrent is opened through a shortcut, by command line, or some other means that allows command line options to be used. At any time, a space should be appended along with the wanted option at the end of the target path for the shortcut, outside of any quotation marks that may exist in the target path.

/ANSI starts µTorrent without Unicode support, in case anyone ever has trouble with Unicode. This option is not needed for Windows 95/98/ME.

/AUTOUPDATE "FILE PATH" [/NORUN] replaces the file located at FILE PATH with the currently-running executable and starts the executable from the specified path. If /NORUN is used in conjunction with this option, then µTorrent won't run the executable after the replacement occurs.

/BIGDUMP tells µTorrent to create a large memory dump instead of the minidumps it normally creates when it crashes. This can be useful for the developer to debug problems where minidumps provide insufficient information.

/BRINGTOFRONT forces the µTorrent window to be shown, regardless of whether it was previously minimized on exit, or whether /HIDE or /MINIMIZED were also used as command line options.

/DIRECTORY "SAVE PATH" ".TORRENT FILE TO OPEN" allows you to open a .torrent file and specify where you'd like to save the torrent contents to from the command line (without any GUI interaction), where "SAVE PATH" is the path to the location you'd like to save the torrent contents, and ".TORRENT FILE TO OPEN" is the location of the .torrent file. Note that the save path must not contain a trailing backslash, otherwise µTorrent will fail to load the .torrent file. Only local .torrent files may be used.

/HIDE starts µTorrent in boss-key mode, meaning the tray icon and the entire interface is hidden until the boss-key is pressed. Note that you should set up a boss-key before actually starting µTorrent with this switch, otherwise you might find yourself having a difficult time seeing and using µTorrent.

/LAUNCHBUNDLEDURL "URL" opens URL in your default web browser.

/LOGFILE "SAVE PATH" will perform the initial file selection for the log to file feature automatically on startup.

/MINIMIZED will start µTorrent minimized, and if minimize to tray is enabled, will start µTorrent minimized to tray.

/NOINSTALL will tell µTorrent to bypass the installation dialog prompt.

/PERFORMINSTALL FLAGS is a bitfield that tells µTorrent what shortcuts to create, depending on the following possible values for FLAGS:

2 tells µTorrent to create a shortcut in the Start menu

4 tells µTorrent to create a shortcut on the Desktop

8 tells µTorrent to create a shortcut in the Quick Launch toolbar

Because the flags are interpreted as a bitfield, values can be added together to perform each of the combined actions.

/RECOVER will allow you to open up a second instance of µTorrent instead of its normal behavior where it simply activates the currently-running instance. In order to prevent possible problems, it is recommended that you create an encapsulated copy of µTorrent before opening it as a second instance, then create a shortcut for the encapsulated copy of the executable with the /RECOVER option. Remember that two applications cannot listen on the same port, so if you intend on having the second instance actually be a properly-working instance, you should set the second instance to listen on a different port, and forward that port as well.

/UNINSTALL will uninstall µTorrent after user confirmation, deleting even the settings directory. If the install is broken enough that this switch doesn't work, running this option in conjunction with the /S option should force an uninstall without asking for confirmation.

Link to comment
Share on other sites

  • 4 months later...
  • 4 months later...

Is there a way to exit already running utorent with a command line switch? Something like /EXIT? I am using alternative shell (bbLean) on the Windows XP SP2 and utorrent is crashing during shutdown. I would like to somehow properly end utorrent using a script or batch file before shutdown to avoid this crashing.

Thanks in advance.

Link to comment
Share on other sites

  • 1 month later...

When using /DIRECTORY, is there a way to make it load the torrent without bringing utorrent to the front. It appears to do it even when minimized to tray etc, it's a little annoying.

Edit: Never mind, I forgot I can uncheck to activate the window on adding torrents

Link to comment
Share on other sites

  • 3 weeks later...

sorry for bumping, but instead of creating a whole new thread, I just ask here:

Does µTorrent 2.0 have any support for performing a silent (unattended) installation? I'm creating an unattended disc for installing Windows and a selection of programs, and µTorrent is on the list, if it can do what I want.

Link to comment
Share on other sites

/PERFORMINSTALL FLAGS is a bitfield that tells µTorrent what shortcuts to create, depending on the following possible values for FLAGS:

2 tells µTorrent to create a shortcut in the Start menu

4 tells µTorrent to create a shortcut on the Desktop

8 tells µTorrent to create a shortcut in the Quick Launch toolbar

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...

Is there a way to set the filename at cmd line (obviously when the torrent is 1 file)? setting the directory is useful but setting the filename is just as important for me.

I don't want to figure out how to edit a torrent to make that change if possible.

If there isn't a way can I recommend it for a future release?

Link to comment
Share on other sites

  • 4 months later...
Is there a way to set the filename at cmd line (obviously when the torrent is 1 file)? setting the directory is useful but setting the filename is just as important for me.

I don't want to figure out how to edit a torrent to make that change if possible.

If there isn't a way can I recommend it for a future release?

may you can find the solution.I hope so.

Shani.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I'm trying to combine /HIDE and /MINIMIZED. My current switch looks like this:

"C:\Program Files\uTorrent\uTorrent.exe" /HIDE /MINIMIZED

When I open this shortcut, the system informs me that the file "minimized" cannot be found. The hide switch does its job normally, however. What am I doing wrong?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • Create New...