How to compress a folder from the command prompt?

As we know, there is an option in sent to--> compressed (zipped) folder.
Is it possible to do the same by running any command from the command line, which will happen like lightning my file.

My goal is like that. I want to create a job in my task scheduler which can zip a folder at the interval given.

Is this possible? Or did I dream about something impossible?
Thank you. Sometimes, difficult things are possible...

Hello

7-zip is the way you really need to take.

7-zip - free has command line options
http://www.7-zip.org/7 - Zip - version command-line - free
http://www.7-zip.org/download.html

7-zip - Forums
http://sourceforge.NET/projects/sevenzip/Forums/Forum/45797

I hope this helps.
Rob - bicycle - Mark Twain said it is good.

Tags: Windows

Similar Questions

  • Trying to delete a folder from the command prompt: access denied.

    So, I just get everything from my old computer to a new computer, and now I have a bunch of additional folders and files that I can't get rid of.  I can't support, I get an error when I do this.  I can't remove them through a command prompt, it gives me the same error I get when I try to take possession or delete normally.  How can I get rid of these files?

    Hey BetterWithLinux,

    Have you tried running in Admin mode?
    Give that a try and let us know your results.
    Thank you!
  • How to send an SMS from the command prompt in Windows 7?

    I clicked on this link http://www.fomine.com/net-send-gui.html in reference to the same question that I have.  It says nothing about the ability to use in Windows 7.  What I try to do is to send a message to a computer (Windows XP) and an iPod on my network to a batch file on my laptop using Windows 7.  I have a simple batch file with this tag to the breast:

    CLS

    the value n/p = planned ip address

    the value m/p = Hello this is a test
    net send /%n% /%m%

    BREAK

    All feel that it worked.  But when I look at the pc (Windows XP) through the room, it is not a pop-up message.  Someone at - it a sugguestions?

    I clicked on this link http://www.fomine.com/net-send-gui.html in reference to the same question that I have.  It says nothing about the ability to use in Windows 7.  What I try to do is to send a message to a computer (Windows XP) and an iPod on my network to a batch file on my laptop using Windows 7.  I have a simple batch file with this tag to the breast:

    CLS

    the value n/p = planned ip address

    the value m/p = Hello this is a test
    net send /%n% /%m%

    BREAK

    All feel that it worked.  But when I look at the pc (Windows XP) through the room, it is not a pop-up message.  Someone at - it a sugguestions?

    It's all about existing communication from the computer to the other.

    NET SEND no longer exists in WIndows 7, if I remember correctly, it's the MSG, I think.

    Also - I think by default, that "Messenger" service has been disabled after SP2 for Windows XP.  You will need to change that to start automatic/enabled.

    Furthermore, I believe that you would have to modify the Windows Firewall to allow this traffic.

  • "How to change the gateway by default from the command prompt"

    "How to change the gateway by default from the command prompt"

    How to change the default gateway on the windows command line

    Microsoft Windows XP - route

  • How to convert a file Available from the command prompt

    I have the need to create or convert a file from the command prompt line and store format Available, but not how to do it

    Not possible with Acrobat.

  • Update Live from the command prompt

    Hello

    I create an executable whose purpose and to make the creation of a winPE bootable USB key easier.

    To create the key, I need to run multiple commands with the systemexec.vi. Many of these commands take ages at the end so I need to know whether or not the command is still in progress.

    What would be great is to have a live update from the command prompt. I guess there should be a way to insert the command line in a secondary or other container?

    Best regards

    Try to redirect the standard output to a file, as in this example:

    ping 192.168.0.46 > out.txt

    If your utility supports redirection, you can read the contents of the file at any time.

    Be careful to choose a working directory where your username has write permissions.

  • Can't see my Windows 7 user account (users\John) in Windows Explorer. I search/modify it from the control panel. I can see it from the command prompt. What gives?

    I use Windows 7 and everthing works apparently fine.  However, I can't see my account of user (users\John) in Windows Explorer.  I see the default administrator. Accounts and account "TempAdmin" I just did.  I search/modify 'John' in the control panel.  I can see ' C:\Users\John > ' from the command prompt and the view (dir\) directories, but it is not there in Windows Explorer.  What gives?

    I use Windows 7 and everthing works apparently fine.  However, I can't see my account of user (users\John) in Windows Explorer.  I see the default administrator. Accounts and account "TempAdmin" I just did.  I search/modify 'John' in the control panel.  I can see ' C:\Users\John > ' from the command prompt and the view (dir\) directories, but it is not there in Windows Explorer.  What gives?

    It is a file system / hidden?

    May not, your settings in Windows Explorer is configured to be able to see (display hidden and system files/directories).

  • start the script from the command prompt

    Hi all
    I'm trying to run a script from the command prompt, I get the following error message:
    A JDK is required to run Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: From scenario INT_ACCOUNT_LOAD_ONE 001 Global context...
    java.sql.SQLException: no driver appropriate
    at java.sql.DriverManager.getDriver (unknown Source)
    at com.sunopsis.sql.SnpsConnection.u (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c (SnpsConnection.java)
    at com.sunopsis.sql.i.run (i.java)


    I gave the information to the repository in the file odiparameters.bat, also I put the ODI_HOME path separately in the system of environmental variables. It is not a form of work.

    Concerning
    KK

    This error message indicates that the driver is correct, but your URL for your storage space is not. (if she could not find the driver, then he would have given the exception to com.sunopsis.sql.c)

  • How to program a chkdsk using the command prompt?

    could someone tell me how to plan (for once only, not repeatedly), windows automatically fix file system errors and find the attempt to recover bad sectors, using the command prompt? I want to perform this check to my external hard drive when windows are on the boot sequence, not on the 'normal' environment for those who want the truth revealed open their hearts and their secrets unseal right now until the now from now who complete memories for those who are now in this House only truth will be heard from the mouth

    Hello

    Start - type in the search-> CMD box find top - make a right click on - RUN AS ADMIN

    To the guest who is probably similar to C:\Windows\System32 >

    This type by replacing X with the correct drive letter.

    CHKDSK X: /f /r

    Where X: is the drive letter for the external drive - spaces after: and f.

    C:\Windows\System32>chkdsk X:/f/r

    I hope this helps.

    Rob Brown - Microsoft MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • PLSQL compiling from the command prompt (not within sqlplus)

    Hi all

    is there a way compilation plsql from prompt not open sqlplus and writing the @filename command?

    We want to import the output to a file and analyzed for a code review tool that we're working on

    Thank you...

    user9371286 wrote:
    Thanks for the answer, I do not want to run the script, I want just to compile?
    Your very helpful answer I'm looking for the other parameters for the fair compilation

    But the execution of a script, it's how do you things from the command line.

    If you want to compile a package or procedure etc you can use for example:

    alter procedure  compile;
    

    in your script

    In addition, if you include the 'exit' at the end of your script, it will return SQL * for the command-line command again.

  • How to run a file through the command prompt window

    I try to download a zip called Kindle Gen - file instructions say I should first extract it to c:\KindleGen and then run it through the command prompt window by typing c:\KindleGen\kindlegen (I ' v it not compressed)

    The showsc:\Users\Barry prompt window > then I'v typed into it after the > but its not to recognize the path to the file.

    Wonder if anyone can advise this as i ' v hurts?

    Thanks Barry

    I try to download a zip called Kindle Gen - file instructions say I should first extract it to c:\KindleGen and then run it through the command prompt window by typing c:\KindleGen\kindlegen (I ' v it not compressed)

    The showsc:\Users\Barry prompt window > then I'v typed into it after the > but its not to recognize the path to the file.

    Wonder if anyone can advise this as i ' v hurts?

    Thanks Barry

    If you have used Windows Explorer (computer) to create the directory in question (C:\KindleGen\) and extract the files in this directory...

    Open a command prompt.

    Type:

    CD \KindleGen

    Type:

    DIR

    Run everything you are supposed to run by typing the name.

  • Cancel current Chkdsk from the command prompt

    I use Windows 7 Professional 32-bit. I ran chkdsk to correct a file corrupted on an external hard drive. I started the administrator command prompt, disassembled the external hard drive and ran chkdsk/r. He proceeded to recover all the files I wanted, but then he finds another corrupt folder that I thought I had deleted. I don't don't need or want this another folder, but chkdsk has taken during the last 72 hours or so trying to fix it. Let us be clear, chkdsk is not fixed. Every two hours, it will update saying that it successfully recovered another file. There are hundreds of files in this folder. I'm looking for a way to stop chkdsk without hurting the parties not corrupt my external hard drive.

    Thanks for any response.

    Hello

    As I was running chkdsk since the administrator on an external hard drive command prompt I didn't need to do a hard reboot. I just closed the command prompt. It seems did not cause any damage. The files it claims to have recovered are now available. While everything seems to have worked.

  • Why I can't change the default program from the command prompt?

    Accidentally, I changed the default program to open the .py (Python script) files at the command prompt, now I can't change it back even in the Control Panel, the check box is gray. Also I tried the registry editor, I do not have the NoFileAssociate file.
    If someone could help that would be great!

    Hello

    This problem occurs when Windows thinks that the application already exists in the list. Change the name of the application may fix this problem. Please try the following if you do not want to rename python.exe


    Method [1]: Use the registry to change the application Associations
    ATTENTION: It is recommended that you create a restore point before you proceed
    • On the start menu, insert the following text and press ENTER: regedit.exe
    • Delete the following key
      Python.exe HKEY_CLASSES_ROOT\Applications\

    Thank you
    Have a nice day :)
  • Error while executing a script from the command prompt

    Hello, I edited the settings file and I am trying to execute an interface that links the two tables in the HR schema and load into a table in the different schema. I am able to run it in the designer, but I get an error message when I try to run through the command prompt.
    Here is the error message when I try to run it
    09/09/2009-11:58:42 AM (hand): session for scenario creation: DEMO_INTERFACE - 001

    09/09/2009-11:58:42 AM (hand): Session: 88010 is running
    com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
    pair logical schema/context: HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
    t (SnpConnect.Java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
    IO. Java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.e.y (e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
    at oracle.odi.Agent.main (Agent.java)
    09/09/2009-11:58:43 AM (hand): Session: 88010 completed with return code:-1
    com.sunopsis.core.SnpsInexistantObjectException: there is no link for this
    pair logical schema/context: HR / GLOBAL
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
    t (SnpConnect.Java)
    at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect (SnpConnect.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst (SnpSession.java)
    at com.sunopsis.dwg.dbobj.SnpSession.getConLst (SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand (DwgCommandScenar
    IO. Java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i (e.java)
    at com.sunopsis.dwg.cmd.e.y (e.java)
    at com.sunopsis.dwg.DwgJv.treatCmd (DwgJv.java)
    at com.sunopsis.dwg.DwgJv.main (DwgJv.java)
    at oracle.odi.Agent.main (Agent.java)
    DwgJv.main: output. Return code:-1

    Thank you for your help.
    Murielle

    Are you sure about the configuration of odiparams.bat?

  • How can I "go offline" from the command line?

    I have programs that need outlook and internet explore on purpose to be offline in order to make them work properly. Currently, I click on file > work offline before starting my programs. I was wondering if it was possible to do the same thing via the command line.

    John

    Search a bit, I found this article: http://support.microsoft.com/kb/195730

    What you can try, is go to

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

    in regedit and backup the registry key (read the regedit help file to understand how to use it, if you have not before).  Before you run all programs, you can try to merge this key and see if then when you start IE or OE, they start in offline mode.

    The name of the value to the "GlobalUserOffline" and the value of 0 means online and 1 means offline.

    See if it works.  If not, you may need to operate this HKEY_USERS that describes the article and then you need to find the appropriate SID, but then you can do as I suggest above for this key and it should work.

    Steve

Maybe you are looking for

  • How to install ElCapitan on a MacBook with Leopard Bootcamp =?

    Hello I made an attempt to update my OS Leopard to ElCapitan on a MacBook with Bootcamp. Even if I follow the installation instructions, the result was catastrophic, i.e. ElCapitan, taking several minutes to open and also the Finder showed files ElCa

  • Computer froze while then restart using Yahoo, has started checking the files on the drive.

    Original title: is there a MicrosoftXP NTFS file system? If SO, is there a file 875? Working yahoo trying to open the file that was sent when the computer locked upand I had the switch works / stop. When I rebooted it came up on top of the page that

  • CHKDSK always crashes in stage 5 (space vacuum error checking)

    It all started with my regular backup default and give me coded error message which means essentially that there are errors on my drive. so I scheduled a CHKDSK and restarted the laptop. It runs, it gets stuck all by checking the free space on the di

  • drop-down boxes gel hp probook 4730 s

    Internet drop down boxes gel my hp probook 4730 s.  I could not use the box on this site either, so I'm stuck with the Council 'display & video' unless the moderator move this question. Frost occurs using google chrome & ie11 times.  I am running Win

  • New line disappears in the table

    I add the new line at my table: BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();          DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("PrfItemImageTempVO1Iterator");          RowSetIterator rsi = dcit