-3

I use Windows' Command Prompt to encode an "Anime video" -- but it takes about 10 hours to finish!

I can't leave the laptop for 10 hours, because I use it in my work.

I want a method to close the CMD and continue it again to avoid restarting the batch file from the beginning.

Is there a method like that?

9
  • 3
    Really you are asking about resuming a process, not realling continuing it once the CMD is closed. In any case, if you want help, you should post the command you use to start the process - since what you are asking is more a feature of your program than CMD's status. Please update your post with that and do not add a comment.
    – nerdwaller
    Aug 1, 2013 at 18:47
  • No, the "encoder x264" use CMD and I wanna CMD To resume because x264 use CMD Not a GUI
    – user242616
    Aug 1, 2013 at 18:50
  • @user242616: That would still be a feature of the program. Which program are you using? (And what do you mean by “left the laptop for 10 hours”? You can’t leave it on, or you can’t leave the program using up resources?)
    – Ry-
    Aug 1, 2013 at 18:52
  • It is x264 I Put this encoder and the video in one folder and create a .bat file to encode it (I can't leave The Laptop on -___-)
    – user242616
    Aug 1, 2013 at 18:54
  • 1
    Rather than stop the command or run the laptop off can you leave the command running then hibernate the machine? That way it will continue after you resume the machine...
    – Mokubai
    Aug 5, 2013 at 21:11

2 Answers 2

4

One solution would be to create a virtual machine with MS Virtual PC or Oracle's VirtualBox. Install the encoding program on the virtual machine. Then you could run the program in the virtual machine and suspend and resume the entire virtual machine as necessary. This would accomplish what you are looking for.

1
  • Great idea, though it assumes one is allowed to install software on a work laptop. (Which generally should not be the case).
    – Hennes
    Aug 2, 2013 at 15:15
1

Your actual question seems to be: "Can I resume a program -In this case started from cmd.exe- after I shut down windows".

The answer is generally: No.

What you can do is:

  1. Run it on another computer. E.g. a non-work related one (keep work and private stuff seperarte!)
  2. Leave the work laptop on during an evening and night.
  3. Find a faster way to do this. In your command I notice a --threads=15. Is that really the fastest option? Do you have 15+ CPU cores? (Or 8 cores with HT?)

If you need to convert this anime for work then ask your admin for an account on a server.

1
  • I wish watching anime was part of my job...
    – Keltari
    Aug 1, 2013 at 20:09

Not the answer you're looking for? Browse other questions tagged .