This type of file was common when the primary PC operating system was DOS, long before Windows was available.įor this example, we will have our batch file copy the contents of C:/Backup1 to Z:/Backup2, where Z: is my personal Microsoft OneDrive, mapped to a network drive in a previous article.Ī batch file is a simple text file, so we can create it using any text editor. SEE: Windows Update: 10 notable new features (free PDF) (TechRepublic) How to back up files on exit automatically with Robocopyīatch files are simple text files that the operating system interprets as executable commands. This tutorial shows you how to craft a batch file that uses Robocopy to automatically back up data and then uses the proper command to shut down a Windows 10 PC completely. With Robocopy and a carefully crafted batch file, it is possible to create a series of commands that will back up data to a chosen location and then shut down your PC automatically. Under that Windows 10 GUI lies a fairly robust command-line interface and PowerShell scripting language, including the file copying and moving application Robocopy. On balance, virtually dragging and dropping files is fairly intuitive and easy to do, so why not? However, the GUI is not the only option for copying your data. In Microsoft Windows 10, when moving or copying files from one folder or drive to another folder or drive, most people understandably use File Explorer and the graphical user interface (GUI). Windows PowerToys 0.62.0 adds three new utilities to the Windows power user toolkitĭefend your network with Microsoft outside-in security services Image: brijith vijayan, Getty Images/iStockphoto Must-read Windows coverage With a carefully crafted batch file, it is possible to create a series of commands that will back up data to a chosen location and then shut down your PC automatically. How to back up files on exit from Windows 10 automatically with a batch file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |