Windows XP creating a bat file

By timboellis2031
Feb 26, 2004
  1. I am running windows XP Home OEM and lookign to setup a bat file so that it will copy all of say C:\Documents and Settings\myprofile and send it to another hdd or a network shared drive, how do i do this
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Open notepad and type:
    @echo off
    xcopy /E /C /I /F /H /R /O /Y "c:\documents and settings\myprofile" \\my\destination

    Then save the file with a .bat or .cmd extension
  3. Rick

    Rick TechSpot Staff Posts: 4,573   +65

    That would work IF Windows allows you access to copy those files. It is very possible this may not work because certain files in your profile settings may be "locked".
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...