[Actual coding thread]A simple moving application
-
- Commando
- Posts: 2589
- Joined: Thu Jun 24, 2010 6:36 am
Re: [Actual coding thread]A simple moving application
That's basically it. I'd rather it not allow for files that are non-png though.
-
- Commando
- Posts: 2791
- Joined: Sun May 06, 2007 3:27 am
- Location: SiK x Gh0sTs Rehauled.
- Contact:
Re: [Actual coding thread]A simple moving application
Well, I believe for the file portion of the selected directory, you can type *.png* and it will select all files in that directory that have .png in their name. So if you're just dumping a folder of photos to another, that would do it. Otherwise I don't know much more in-depth for batch files.
TaxiService wrote:Roses are red
Violets are blue
What a shitty thread
Fuck all of you.
-
- Commando
- Posts: 2589
- Joined: Thu Jun 24, 2010 6:36 am
Re: [Actual coding thread]A simple moving application
What im trying to do:
have a .png file from any directory replace this file:
I want it to have the same name though.
Thats the directory on windows basically.
Its for changing the sprites just so you know.
have a .png file from any directory replace this file:
I want it to have the same name though.
Thats the directory on windows basically.
Its for changing the sprites just so you know.
Re: [Actual coding thread]A simple moving application
Get info on the properties of that file
copy the path and take note of the filename
make a .bat windows batch file to rename the file you drag onto it as a string containing that path and filename according to:
copy the path and take note of the filename
make a .bat windows batch file to rename the file you drag onto it as a string containing that path and filename according to:
White Knightmare wrote:The -y prompts an error if there is a duplicate file, use /y if you're over writing files.Code: Select all
move /-y "Directory\file" "New_Directory" pause
Either you are groping for answers, or you are asking God and listening to Jesus.
-
- Green Beret
- Posts: 3470
- Joined: Sat Jun 03, 2006 11:08 am
- Contact:
Re: [Actual coding thread]A simple moving application
Monoman wrote:Since you are looking to move files in Windows, why not just create a bat file that moves them?
.bat files in Windows, Terminal or Applescript in OSX
Who is online
Users browsing this forum: No registered users and 1 guest