Is it IT's Job to hold hands for Non-IT workers? Software. I figured out that the following command will work on password protected Rar files: C:\Program Files\WinRAR>"WinRar.exe" e -o -pPasswordHere "E:\EvaluationsUnit\InterBullFiles\pedigree.bsw. I get the following message although the same password works when I do it manually: c:\My Data\: Wrong password for pedigree.bsw c:\My Data\: No files to extract quote: The winrar command options are: Usage: rar - a Add files to archive c Add archive comment cf Add files comment ch Change archive parameters cw Write archive comment to file d Delete files from archive e Extract files to current directory f Freshen files in archive i= Find string in archives k Lock archive l List archive m Move to archive p Print file to stdout r Repair archive rc Reconstruct missing volumes rn Rename archived files rr Add data recovery record rv Create recovery volumes s Convert archive to or from SFX t Test archive files u Update files in archive v Verbosely list archive x Extract files with full path - Stop switches scanning ac Clear Archive attribute after compression or extraction ad Append archive name to destination path ag Generate archive name using the current date ai Ignore file attributes ao Add files with Archive attribute set ap Set path inside archive as Synchronize archive contents av Put authenticity verification (registered versions only) av- Disable authenticity verification check c- Disable comments show cfg- Disable read configuration cl Convert names to lower case cu Convert names to upper case df Delete files after archiving dh Open shared files dr Delete files to Recycle Bin ds Disable name sort for solid archive dw Wipe files after archiving e Set file exclude and include attributes ed Do not add empty directories en Do not put 'end of archive' block ep Exclude paths from names ep1 Exclude base directory from names ep2 Expand paths to full ep3 Expand paths to full including the drive letter f Freshen files hp Encrypt both file data and headers id Disable messages ieml Send archive by email ierr Send all messages to stderr ilog Log errors to file (registered versions only) inul Disable all messages ioff Turn PC off after completing an operation isnd Enable sound k Lock archive kb Keep broken extracted files m Set compression level (0-store.3-default.5-maximal) mc Set advanced compression parameters md Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G) ms Specify file types to store mt Set the number of threads n Include only specified file Read file names to include from stdin Include files listed in specified list file o Set the overwrite mode oc Set NTFS Compressed attribute or Rename files automatically os Save NTFS streams ow Save or restore file owner and group p Set password p- Do not query password r Recurse subdirectories r- Disable recursion r0 Recurse subdirectories for wildcard names only ri Set priority (0-default,1-min.15-max) and sleep time in ms rr Add data recovery record rv Create recovery volumes s,e] Create solid archive s- Disable solid archiving sc Specify the character set sfx Create SFX archive si Read data from standard input (stdin) sl Process files with size less than specified sm Process files with size more than specified t Test files after archiving ta Process files modified after in YYYYMMDDHHMMSS format tb Process files modified before in YYYYMMDDHHMMSS format tk Keep original archive time tl Set archive time to latest file tn Process files newer than to Process files older than ts Save or restore file time (modification, creation, access) u Update files v Create volumes with size autodetection or list all volumes v Create volumes with size=*1000 vd Erase disk contents before creating volume ver File version control vn Use the old style volume naming scheme vp Pause before each volume w Assign work directory x Exclude specified file Read file names to exclude from stdin Exclude files listed in specified list file y Assume Yes on all queries z Read archive comment from fileĬan you elaborate on "doesn't work"? Do you get an error message? Does nothing happen?If you're extracting plain Zip files, have you tried another (command line) unzip utility? There are several free ones available. How do I extract file which is password protected?I'm using the following line in the xp_cmdshell and also tried it in DOS but it doesn't work: "C:\Program Files (x86)\WinRAR\WinRar.exe" e -o -p E:\EvaluationsUnit\InterBullFiles\ E:\EvaluationsUnit\InterBullFiles We've got lots of great SQL ServerĮxperts to answer whatever question you can come up with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |