Results 1 to 3 of 3

Thread: Not able to do a simple RAR of files

  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Not able to do a simple RAR of files

    Hi All,

    Here, I am trying to do a simple RAR of the files. Here is the following command I am using:

    Command:

    set DP_DIR="C:\Test"
    set source="C:\Windows\System32\Tasks\*.*"
    RAR -o+ -agYYYYMMDD a -ai %DP_DIR%\Tasks_ %source%

    Output:

    RAR 3.90 Copyright (c) 1993-2009 Alexander Roshal 16 Aug 2009
    Shareware version Type RAR -? for help
    Evaluation copy. Please register.
    Creating archive C:\Test\Tasks_20111023.rar
    WARNING: No files

    This folder actually has the XML files, but as you might all know it is has the type "File" and not any .xml or .txt. So i suppose the rar command is not able to backup the files of "unknown" type and hence it gives me this issue.

    Do you have any suggestions on how I can you this RAR command from CMD prompt to achieve this? Please help!!

    Actually it does create a .rar folder as "C:\Test\Tasks_20111023.rar" if I set source="C:\Windows\System32\Tasks" but it does not contain any files but only the folder structure.

    Please help.....awaiting your inputs!!

    Regards,
    Kausty

  2. #2
    Join Date
    May 2011
    Posts
    523

    Re: Not able to do a simple RAR of files

    Hello as per my knowledge Xml files more often than not comprise a file association within Windows. Whatever type it having there is no relation of it with the rar. You don’t have to do anything with the rar. And whenever it’s saying xml means that file is having extension of XML and its known as XML file.

  3. #3
    Join Date
    Oct 2011
    Posts
    2

    Happy Re: Not able to do a simple RAR of files

    I know that .xml files are XML files. Thanks!!
    All i wanted to say is that, those XML files are saved with no extention. But as i know that for RAR command, it should not have caused any issue so its ok. anyways. I have achieved my goal here. Thanks for your patience.

Similar Threads

  1. Do you wish for the simple Ereader?
    By Nayar in forum Portable Devices
    Replies: 5
    Last Post: 11-07-2011, 07:43 PM
  2. Simple To-Do App
    By TanakL in forum Windows Software
    Replies: 6
    Last Post: 16-09-2010, 12:07 AM
  3. Replies: 11
    Last Post: 30-11-2009, 10:19 AM
  4. Replies: 2
    Last Post: 10-06-2009, 11:16 AM
  5. construct a simple table from XML files using XSLT
    By Damien25 in forum Software Development
    Replies: 3
    Last Post: 25-10-2008, 06:09 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,503,071.91003 seconds with 16 queries