unopescio Posted October 4, 2013 Share Posted October 4, 2013 Basically Im trying to copy a file from one folder and send it to a different folder with a new name, but I cant figure it out and its driving me crazy. So lets say my batch file is in the root of my main folder, and im trying to copy f*ckface.txt from a folder named ASS to sh*thead.txt in a folder named BUTT, I would use this code copy "ASS/f*ckface.txt" "BUTT/sh*thead.txt" but it doesnt work, whhhhyyyyy???? Link to comment Share on other sites More sharing options...
trip Posted October 4, 2013 Share Posted October 4, 2013 Why a bat file? Does the destination directory exist? If not you will need to create it or include a mkdir in your bat file. copy c:/ass/f*ckface.txt c:/butt/sh*thead.txtUsing absolute paths may make things easier. My crappy games at MyCrappyGames.com Free copy of Save The Puppies and Kittens Link to comment Share on other sites More sharing options...
unopescio Posted October 4, 2013 Author Share Posted October 4, 2013 (edited) I dont know why a bat it just seemed the easiest thing to do. Is there anyway to do it without using absolute paths though? Like if I share the thing with other people theyll put it in a random folder and it wont work? EDIT: and yeah the destination folder exsists EDIT2: Never mind I put the slashes the wrong way. I am a f*ckwit. Edited October 4, 2013 by OnePiece 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