Autorun TotalCmd: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 17: Line 17:
  Shell\TotalCmd\Command=Tools\TotalCmd\Totalcmd.exe /L=%%COMMANDER_PATH%%\..\.. /R=%%SYSTEMDRIVE%% /P=L
  Shell\TotalCmd\Command=Tools\TotalCmd\Totalcmd.exe /L=%%COMMANDER_PATH%%\..\.. /R=%%SYSTEMDRIVE%% /P=L


It's done !
Just unplug your USB key/drive and plug it back... Now TotalCmd Autostarts !
It will open your USB key/drive root folder on the left pannel, and the local system drive on the right pannel.
 
This works under Windows XP SP2.
 
That's all folks !

Revision as of 17:38, 4 October 2006

During this tutorial, we'll consider your USB drive as being Z:\

  1. Create a directory named "Tools" on the root of your USB key/drive --> "Z:\Tools"
  2. Copy the total commander folder (Totalcmd) inside the "Tools" folder (after this, Totalcmd.exe should be located at "Z:\Tools\TotalCmd\TotalCmd.exe")
  3. Create an autorun.inf file as shown under in the root of your USB key/drive --> Z:\autorun.inf

Autorun.inf content

[Autorun]
label=Total Commander USB Key
icon=Tools\TotalCmd\Totalcmd.exe

action=Total Commander
open=Tools\TotalCmd\Totalcmd.exe /L=%%COMMANDER_PATH%%\..\.. /R=%%SYSTEMDRIVE%% /P=L  

Shell=TotalCmd
Shell\TotalCmd=&Total Commander
Shell\TotalCmd\Command=Tools\TotalCmd\Totalcmd.exe /L=%%COMMANDER_PATH%%\..\.. /R=%%SYSTEMDRIVE%% /P=L

Just unplug your USB key/drive and plug it back... Now TotalCmd Autostarts ! It will open your USB key/drive root folder on the left pannel, and the local system drive on the right pannel.

This works under Windows XP SP2.

That's all folks !