Try this
@echo off
cd /d c:\
cd %userprofile%
xcopy favorites /h /s /y (drive

ath)
cls
exit
>-----Original Message-----
>I need to create a .bat or .cmd file that users can run
to
>copy their IE favorites to a mapped network drive. All
>attempts thus far are not successfult. From the command
>line I can run the script and it works just fine, but if
I
>careate a .txt, rename it with a .bat or .cmd, it does
not
>work. I receive an error message stating that "The
system
>cannot find the path specified.
>File not found - Favorites". Can someone help me with
>this please ASAP?
>Thanks,
>Mike V.
>.
>