This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Knowledge Base
- :
- Copy hosts file from C drive to other Drive
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Copy hosts file from C drive to other Drive
Copy hosts file from C drive to other Drive
Introduction :
This article will helps you to copy host/system files from C drive to another Drive
Instructions :
Step 1 : Create a New Project
Step 2 : Add Execute Script/Batch file action with this command,
xcopy /y /o /h /i "C:\Windows\System32\drivers\etc\hosts" "E:\FCSBACKUP"
Step 3 : Make sure the folder FCSBACKUP is available
Step 4: Build and run the project.
Step 5: Make sure the hosts files are copied to the expected location.
More Information:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy
No ratings