Minggu, 07 September 2008

Dialog box: Change start menu / directory menu

From windows Commande Help

To move menu items to a different line, put the cursor bar on the desired entry, hold down the SHIFT key and move it using up and down arrow keys. You can also drag items using the mouse.

Field Meaning

Start menu: Shows the existing entries of the start menu. If you select an entry, the command line and parameters belonging to it are shown.

Add item... Creates a new entry in the start menu. Asks for a menu title first. A & sign causes the letter behind it to be underlined. Enter a single dash '-' to create a seperator line.

Add submenu... Creates a new submenu. Asks for a menu title first. Submenus are shown with a dash in front of the name. The end of the submenu is shown with two dashes.

Delete Item Deletes the selected menu entry. Choose CANCEL to cancel all changes.

Change Title... Changes the title of the menu entry.

Command: In this box you may specify the program to be run, including its search path. You can also specify fixed parameters here. Important: You must give the extensions .com and .bat, because by default Windows only finds .exe!
You can also choose one of Windows Commander's internal commands from the dropdown combobox. See 'change button bar' for all possible commands (except for changing the subbar).

>> Opens a dialog box to browse for the desired file name.

Start path: Determines the path to be set before the program is started. If no path is given, then the path of the source window is set.
Important: If the command (given in the command box) is cd drive:\directory, then the path given in this edit box is set in the other window! This allows to set both paths (source and target) at the same time.

Shortcut key: Here you can choose a shortcut key for the command.

Run iconic: Program will be started as an icon

OK Saves the changes made to the file wincmd.ini in the Windows directory.

Cancel Closes the dialog box without saving.

Help Opens Windows Help with this page.

Parameters: Here you can specify command line parameters.
Special parameters:
? as the first parameter causes a Dialog box to be displayed before starting the program, containing the following parameters. You can change the parameters before starting the program. You can even prevent the program's execution.
%P causes the source path to be inserted into the command line, including a backslash (\) at the end.
%N places the filename under the cursor into the command line.
%T inserts the current target path. Especially useful for packers.
%M places the current filename in the target directory into the command line.
%O places the current filename without extension into the command line.
%E places the current extension (without leading period) into the command line.
Note: %N and %M insert the long name, while %n and %m insert the DOS alias name (8.3). %P and %T insert the long path name, and %p and %t the short path name. (Same for %o and %e)
%% inserts the percent-sign.
%L, %l, %F, %f, %D, %d create a list file in the TEMP directory with the names of the selected files and directories, and appends the name of the list file to the command line. The list is deleted automatically when the called program quits. 6 types of list files can be created:
%L Long file names including the complete path, e.g. c:\Program Files\Long name.exe
%l (lowercase L) Short file names including the complete path, e.g. C:\PROGRA~1\LONGNA~1.EXE
%F Long file names without path, e.g. Long name.exe
%f Short file names without path, e.g. LONGNA~1.EXE
%D Short file names including the complete path, but using the DOS character set for accents.
%d Short file names without path, but using the DOS character set for accents.
Read More..

Sabtu, 06 September 2008

Packing / unpacking with Windows Commander

From windows Commande Help

Unpacking

Open the file to be unpacked in one of the file Windows (by double clicking on its filename). Change the path of the other file window to the destination where you want to put the files. In the source directory, choose the files you want to unpack. Press F5 (copy). This opens the dialog for unpacking files. To unpack all files, just press ALT+F9. Windows Commander has built-in unpackers for ZIP, ARJ, LZH, .RAR, .TAR, .GZ, .CAB and .ACE files.

Packing


Choose the files you want to pack. Then choose pack from the menu Files or press ALT+F5. A dialog will appear, where you can select options for packing the files. ENTER the desired file name for the archive you want to create. After you press ENTER, the files are packed to this file.

To move (pack & delete) the selected files, press SHIFT while pressing ALT+F5 or choosing pack from the menu.
Important: In the dialog box you must specify the name of the packer (zip, arj, lha, rar, uc2 or ace) and a colon in front of the file name, e.g. zip:c:\test.zip, otherwise the files will be copied/moved normally!!!

If you have configured Windows Commander to use the internal ZIP packer you can still use the external packer (pkzip or zip-nt): Instead of ZIP: place the string EXT: (for external) in front of the ZIP filename! You can also force the internal ZIP packer by specifying INT:.

Adding files to an existing archive


If you want to add files to an existing archive, proceed as follows: open the archive file in one file window. Select the files and directories you want to add in the other window. Press F5 to pack the selected files. This will again show the dialog for packing
, pressing ENTER starts the appropriate packer. TAR, GZ and CAB archives cannot be modified.

Pressing F6 will move (pack & delete) the selected files.


Restriction: You cannot add files to any subdirectory of an archive, except with the internal ZIP packer and with UC2. However, you can add whole directories with all their files. You can choose whether you want to save the packed files including their paths, or simply the files alone. To add files to a subdirectory with the internal packer or with Uc2 you must separate the subdirectory with a forward slash / , not a backslash!
Example: zip:c:\test.zip/this\is\a\subdir

Deleting files from an archive

Open the archive you want to delete files from by double clicking on it. Select the files and/or directories you want to delete and press F8 to delete them.

List files from an archive

To show files with the built-in or external lister, just press F3. After a warning dialog box, the file is unpacked and then shown. After you close the lister, the temporary file is deleted though the original archive is not affected.

Edit files from an archive

To edit a file with the editor of your choice, just press F4. The file is then automatically unpacked and will be repacked into the archive if it was changed with the editor. Repacking will NOT work to TAR, GZ and CAB archives! Instead, the modified file will not be deleted and remain in the temporary directory.

To edit a file with its associated program, press ENTER, then select Unpack and Execute. The file is then automatically unpacked. It can also be repacked if it was changed.
Read More..

Jumat, 05 September 2008

Using Windows Commander as an archiver shell

From windows Commande Help

Windows Commander can work with packed files as if they were directories. This means that you can double click (or press ENTER) on such an archive, and Windows Commander will show the contents of this file. All files packed into the archive are shown in a normal file window.


If a file was packed into the archive together with its path, the relevant directories are shown as normal directories. You can navigate in these directories as normal and unpack any files and even complete directories. If you want to know more about a packed file, just press ENTER to show details like full path, compression method and ratio.

Windows Commander can now also open archives in archives! To unpack an archive to a temporary directory, just press ENTER on that archive. If the archive has an unusual extension, or is a self extracting archive, you must press CTRL+PgDn instead. When you leave the archive by switching to its parent directory, or by switching to a different drive, the archive will be automatically deleted from the temporary directory.
Read More..

Kamis, 04 September 2008

Self extracting archives

From windows Commande Help

Windows Commander also supports self extracting archives with EXE or COM extension. To open such an archive, place the cursor on the file and press CTRL+PgDn. To create a self extracting ZIP archive, rename a ZIP file to an EXE file. Windows Commander will then ask if you want to create a self extracting ZIP archive.
How to produce archives?

To pack and unpack files, you need special pack programs like pkzip.exe, pkunzip.exe, arj.exe, lha.exe, rar.exe, uc.exe
and ace.exe. Windows Commander can act as a shell for these programs. Additionally Windows Commander contains a Pkzip-compatible internal packer, which supports nearly all functions of pkzip, even the creation of multi-volume ZIP files! Only the encryption isn't supported because of the restrictive US export laws. The packer is based on Zlib by Jean-loup Gailly. The C source is freely available at the following ftp address on the Internet: ftp://ftp.uu.net/pub/archiving/zip

.TAR, .GZ and .CAB archives can only be unpacked, NOT created by Windows Commander.


Read More..

Rabu, 03 September 2008

Working with archives (ZIP, ARJ, LZH, RAR, UC2, CAB, ACE)

From windows Commande Help

Important note:

Most packers do NOT support Win95/98 and WinNT long filenames! Exceptions are the internal ZIP packer built into Windows Commander, Zip-NT (ftp://ftp.uu.net/pub/archiving/zip/) and very new versions of UC2, RAR, LHA and ACE. If possible always use the internal ZIP packer! In this version Windows Commander checks the created archive directly after packing to ensure that it isn't defective. This can be disabled by adding the line VerifyZip=0 to the section [Packer] in wincmd.ini.

What are archives?

Archives (packed files) are normal files with the extensions .ZIP, .ARJ, .LZH, .RAR, .UC2, .CAB, .ACE. Such files contain other files in a compressed form, which takes up less disk space than uncompressed files. To access these files, they have first to be uncompressed. Files with extension .TAR come from the UNIX world - they are usually packed into a GZIP file (ending with .GZ). They cannot be modified with Windows Commander. The CAB archive format is used by Microsoft for installation programs. CAB archives can only be unpacked by Windows Commander. CAB files are only supported by the 32 bit version.
Read More..

Selasa, 02 September 2008

F8: Delete

From windows Commande Help

Select the files and/or directories you want to delete, then press F8.

After confirmation, the files are deleted. The process can be interrupted at any time with the Cancel dialog. For each non-empty directory, an additional dialog box will ask for confirmation. Warning: All files AND DIRECTORIES in that directory will be deleted. You could use Microsoft Undelete to recover those files (only on Windows 3.1(1)).

On Windows 95/98/NT, the files are automatically moved to the 'Recycle Bin'. You can double click the Recycle Bin on the Desktop to restore these files or to remove them completely. You can also choose in Recycle Bin how much space the deleted files can take, and also if you don't want to use Recycle Bin at all. If you want to delete files without moving them to recycle bin, you can hold down the SHIFT key while pressing F8 or DEL. You can disable the use of Recycle Bin in Windows Commander by making a change to Wincmd.ini, key UseTrash.

If the source directory shows the contents of an archive, the corresponding packer is started to delete the files. The files are deleted directly without moving them to Recycle Bin.

In the 32-bit version, the delete operation can be moved to the background by pressing the 'Background' button during the delete operation.
Read More..

Senin, 01 September 2008

F6: Rename / Move

From windows Commande Help

This command permits the renaming of files and whole directories in the source directory, and can be used to move them to different directories or even to different drives. You can also move (pack & delete) files into archives.

Select the files and/or directories you want to rename or move, then press F6. If you only want to rename a file in place, press SHIFT+F6 instead. This will open an inplace edit window around the file to be renamed. Important: You must press ENTER to confirm that you want to rename the file. Clicking outside the inplace edit window will cancel the operation. If you don't like getting the inplace rename window when clicking on the same file twice, add the string InplaceRename=0 to the [Configuration] section in wincmd.ini. When renaming a ZIP file to an EXE file, Windows Commander will ask if you want to create a self extracting ZIP archive. If you choose 'yes', the EXE file will be converted.

F6 opens a dialog box where you can type the target path and a file mask. As a default, the path of the target window is presented. If you do not specify a target directory, the source directory is assumed, i.e. you rename the files. If you do not specify a file mask, the file name is not changed. Additionally, you can choose the target directory with the directory tree by pressing the tree button. See also copy (F5).

SHIFT+F6 with multiple selected files opens a dialog box which allows to specify wildcards (* and ?) to rename multiple files. New: You can select the option Rename each file separately, then you will be asked for a new name for each file separately.

If the source directory shows the contents of an archive, this function is unavailable. Exception: You can rename single files/dirs with Shift+F6 inside ZIP files.
Read More..