- Joined
- Apr 16, 2008
- Messages
- 15
I'm a first time poster! My current project is making a batch file that will compress a folder / drive, password protect it. I then I will include my Nero batch info and burn it to DVD so that it is password protected. I'm having issues with the Winrar batch part. I have it listed below
'C:Program FilesWinRARrar.exe' a -m5 -e -pTest c:test c:
However it doesn't copy anything. Can someone please help me out if my flags are incorrect or syntax is incorrect.
Thanks in advanced,
T
RAR Command line
This is the Winrar command Line I am using. 'C: RAR.EXE' m -r 'E: MEDIA.RAR' 'C: MEDIA' What i want to do is make it so after each file is put into the archive it is deleted from the source. But the way winrar does it is, it deletes all of the source files only after 100% successful completion of the whole entire archive. Winrar Command line Answered I need help understanding and using winrar command line. Specifically the lock, copy, password, delete after rar, and the ieml command and anything else you. Osx disk utility restore. What is WinRAR; WinRAR limitations; Console RAR version; Acknowledgments; Quick start for novices. Shell and command line modes; How to extract files. How to extract files using WinRAR shell mode; How to extract files using command line; How to extract files in Explorer or Desktop; How to archive files. How to archive files using. WinRAR is the Windows version of RAR and includes the shell mode version or Graphical User Interface (GUI), as well as the command line option. After you receive or download a RAR file from the Internet or via email, you need to extract its contents in order to use them. WinRar offers both a classic interactive Windows interface and the command line interface. WinRar provides functionality for creating a 'solid' archive, which can raise the compression ratio by 10% - 50% over more common methods, particularly when packing large numbers of small files.
The RAR Command Line is the tool that provides a number of far more comprehensive and selective options, including many useful Windows specific options which are not available with the WinRAR graphical user interface(GUI).
It may take some time to become familiar with the command mode but it is definitely worth it for repetitive, automated or more complex functions which can be used manually from Windows Command line interface, or when using BAT or CMD files.
Winrar Command Line Manual
Full details on the Commands and Switches are found by opening RAR.txt with Windows Notepad from your Program filesWinRAR folder.
For first time use, read the Introduction and then skip down the 3 underlined sections to 'RAR command line syntax', as that covers the use and description of all the commands, along with useful examples being provided for each Command and Switch.
Don't forget to go back and read the 3 skipped sections as they are required reading for you to progress when using the RAR Command line tool.
Winrar Command Line Examples
Winrar Command Line
To run Command line RAR, go to the Windows Search Window (second from the left on your Task Bar), enter 'Cmd' and click on Command Prompt. This will open a black window with white txt. Type in 'cdProgram filesWinRAR' and press the Enter key to change to your Program filesWinRAR folder where you can now experiment using the examples from RAR.txt.