I have a batch file that creates directories, changes permissions and copies files onto a usb device. It works fine but as we all know, as soon as something like this is created, someone wants an enhancement. Several problems, I needed to pass in the thumb drive letter since each PC could assign a different drive letter to the device. I wanted to pass in a parameter but couldnt achieve that so I added a line in the batch script requesting the user to enter it from the keyboard. Then I needed to put the output showing what the script was doing into a log file so the user could view the successful completion of the script. I was able to do this too. but..... When I redirected the output to the log file, the script no longer prompted for the drive letter. Also the script progress no longer displays in the command window. I need it to display in the command window as well as redirect to a log file, and I need the prompt for the user to enter a drive letter to show up as before the redirect was implemented. Heres the script echo "automated method to move new files from view area to thumbdrive" set scriptpath=U:\NewApps\ConfigurationManagement\ set viewpath=U:\NewApps\Quiz36\TCC\Code\ set /p thumb_dr= What is the thumb drive letter ? echo "creating directory tree on thumbdrive" %thumb_dr% cd nearfield mkdir src mkdir fpgaInclude mkdir include mkdir mfaInclude mkdir msgInclude mkdir nsiInclude mkdir control_files mkdir c_code echo "copying cm scripts" cd ..\nearfield copy %scriptpath%Scripts\* . echo "copying src directory files" cd src copy %viewpath%src\* . echo "copying fpgaInclude directory files" cd ../fpgaInclude copy %viewpath%fpgaInclude\* . echo "copying include directory files" cd ../include copy %viewpath%include\* . echo "copying mfaInclude directory files" cd ../mfaInclude copy %viewpath%mfaInclude\* . echo "copying msgInclude directory files" cd ../msgInclude copy %viewpath%msgInclude\* . echo "copying nsiInclude directory files" cd ../nsiInclude copy %viewpath%nsiInclude\* . echo "copying control_files directory files" cd ../control_files copy %viewpath%control_files\* . echo "copying c_code directory files" cd ../c_code copy %viewpath%c_code\* . cd ../ echo "DONE" Thanks emp1953