This solution would not open a console window because of WinRAR.exe is a Windows GUI desktop application. This task could be also done with WinRAR.exe using a profile created before with starting WinRAR.exe with the profile name as only option on the command line stored in a shortcut file. Open text file Rar.rxt in program files folder of WinRAR with a double click which is the manual of Rar.exe explaining the command a and the switches used here. Open a command prompt window, run for /? and read the output help explaining option /D (directory search). The name of the compressed subdirectory with its path is not added to the RAR archive file ( -ep1 and folder to compress ends with a backslash). Does Convert RAR to Zip Work When Forgot WinRAR Password Things You Need to Know in Advance Part 1 will describe 3 free ways to unlock files when you have forgotten WinRAR password. The standard configuration is ignored ( -cfg-) on compression. How to Unlock WinRAR after You Get the Password Tip 2. rar created in the specified directory N:\working using best compression ( -m5) without any output to console window and ignoring all errors ( -inul) which could occur during folder compression. Rar.exe adds ( a) recursively ( -r) all directories and files in the subdirectory found by FOR to a RAR archive file with name of the current subdirectory and file extension. left to Rar.exe with full qualified file name is removed to see the command line output by cmd.exe when a new archive file creation starts.įOR searches in specified directory N:\working for non-hidden subdirectories and assigns the full qualified directory name to loop variable I before executing Rar.exe for this subdirectory. ![]() There is no left to for as that would be completely useless on running this command line in a command prompt window. 1.3K 138K views 3 years ago Winrar Windows Cara mengatasi winrar gagal ekstrak file rar, zip, 7z, no archive found The archive is either in unkown format damaged. Ysl wrote:I would like to make a UDC 'open with' winrar with a command line which will made me able to push a key to un-rar the selected archive in a folder (in the same folder as the archive with the same name as the archive) and no folder if the archive is just 1 file. The same command line for usage in a command prompt window without using a batch file: for /D %I in ("N:\working\*") do "%ProgramFiles%\WinRAR\Rar.exe" a -cfg-ep1 -inul -m5 -r - "%I.rar" "%I\" That task can be done with a batch file containing only a single command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |