I include a simple line
xcopy c:\test.txt c:\temp
in a batch file test.bat. File and folders in context are all exist. when I run this batch file through either double clicking batch file or typing batch file name in the command window, it gave me an infinite rolling screen with repeative text as below, So I have to use ctrl+c to terminate it. why?
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
.........
thanks
tianjin
xcopy c:\test.txt c:\temp
in a batch file test.bat. File and folders in context are all exist. when I run this batch file through either double clicking batch file or typing batch file name in the command window, it gave me an infinite rolling screen with repeative text as below, So I have to use ctrl+c to terminate it. why?
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
C:\>xcopy c:\test.txt c:\temp\ /s /e
C:\>rem COPYIT.BAT transfers all files in all subdirectories of
C:\>rem the source drive or directory (c:\test.txt) to the destination rem drive
or directory (c:\temp\)
.........
thanks
tianjin