secowu Posted December 24, 2005 Share Posted December 24, 2005 this is my batch file:xcopy d:\test\office d:\test\printer\ /T for /F %%i in (printer.txt) do copy %%i d:\test\printer%%~pibut it didn't work fine.anyone helps me?tks Link to comment Share on other sites More sharing options...
secowu Posted December 24, 2005 Author Share Posted December 24, 2005 result:D:\test>copy D:\office\PRO11.MSI d:\test\printer\office\err path & file no fundhow can i cut the last '\'for if del the last '\',it will work welltks Link to comment Share on other sites More sharing options...
Yzöwl Posted December 24, 2005 Share Posted December 24, 2005 What's the content of d:\test\office? and what are you trying to do?Copy many files and folders, just one folder and its conrnts of a single or many files... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now