>run /0 copy mytext.txt mylonglongtext.txt >or >run copy mytext.txt mylonglongtext.txt >>The response was "Duplicate file name or file not found"
>x = FCREATE( "mylonglongtext.txt" ) >= FPUTS( x, "Hello World" ) >= FPUTS( x, "Hello Again" ) >= FCLOSE( x ) >>The resulting filename is truncate to just "mylonglo.txt" (DOS 8.3 format)
run cmd.exe /c copy c:\somepath\file.txt c:\somepath\filefilefile.txt * If there are spaces in the source path or target path or file name you need to use double quotes: run cmd.exe /c copy "c:\some path\file.txt" "c:\some other path\file long name.txt"