Question

'echo 0 > Q:\FactoryRecovery\RECOVERY.INI:Done'

Can anyone please explain to me how this command works? I'm curious after reading this Superuser post: https://superuser.com/questions/384658/why-can-i-only-create-one-factory-backup-from-my-lenovo-thinkpad

It allows you to create more than one recovery disk.

Était-ce utile?

La solution

Ok, heres a brief expanation:

Echo 0

Simply outputs 0 to the screen. Thats not to complicated. adding a >> and a file path after this will redirect the output to the end of the file. Adding a > will replace the contents of the file with what is being redirected.

Hence:

Echo 0 > Q:\FactoryRecovery\RECOVERY.INI

Will replace the contents of Recovary.INI with 0(while it used to be 1). It prevents the file needed to create additional recovary disks from exiting, essentially allowin you to create more than one.

Mona.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top