.cost .tgt
Moderator: Moderators
- smarty2
- Very Active Forum Member
- Posts: 9976
- Joined: Sun Aug 21, 2005 8:16 am
- Location: 1963, at Snow Hill!
- Contact:
.cost .tgt
Hi, just a quicky... is it safe to delete these files? I have 17563 of em!! 
Best Regards
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
-
chrisreb
- Very Active Forum Member
- Posts: 3134
- Joined: Fri Oct 17, 2008 10:48 am
- Location: Southampton UK
Re: .cost .tgt
Pretty sure it is - I have a batch file that does just that that I run from Inside the Assets folder.
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: .cost .tgt
Yep, they're just temporary files created by (I think) modelling programs/image manipulation programs, so getting rid of them does no harm.
- briyeo1950
- Very Active Forum Member
- Posts: 1795
- Joined: Mon Jul 20, 2009 8:33 pm
- Location: Derbyshire
Re: .cost .tgt
Yes I have a batch file in my Assets folder called JUNK, double click it and it removes all such files. someone recently uploaded a similar utility to the library here, it's worth having. I produce hundreds of Bak files when I do repaints. 
- Juanillo99
- Well Established Forum Member
- Posts: 879
- Joined: Sat Oct 13, 2012 5:12 pm
- Location: Teruel - Spain
- Contact:
Re: .cost .tgt
Hello, this can be useful → http://forums.atomic-systems.com/viewto ... 6#p1343927
- smarty2
- Very Active Forum Member
- Posts: 9976
- Joined: Sun Aug 21, 2005 8:16 am
- Location: 1963, at Snow Hill!
- Contact:
Re: .cost .tgt
Thanks gents, off to delete, hopefully reduce the size of my assets folder a bit!
Best Regards
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
- iceman2117
- Very Active Forum Member
- Posts: 3287
- Joined: Thu Dec 27, 2007 1:45 pm
- Location: Western Germany
Re: .cost .tgt
hi, ...
You can delete this.
I have a Batch File in ASSET Folder.
del /s *.tgt
del /s *.cost
del /s *.bak*
del /s *.xml
del /s *psd
end
g'ice
You can delete this.
I have a Batch File in ASSET Folder.
del /s *.tgt
del /s *.cost
del /s *.bak*
del /s *.xml
del /s *psd
end
g'ice
- smarty2
- Very Active Forum Member
- Posts: 9976
- Joined: Sun Aug 21, 2005 8:16 am
- Location: 1963, at Snow Hill!
- Contact:
Re: .cost .tgt
You can delete .xml files too?? 
Best Regards
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: .cost .tgt
You can delete anything you want (and all too often what you don't want) to with the correct commands in a batch file.
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Re: .cost .tgt
You will notice that Ice does specify this is for the Assets folder - where .xml files are not used. But remember that .proxyxml files ARE used, so if your batch file is *xml instead of *.xml then you are in deep trouble.smarty2 wrote:You can delete .xml files too??
Mike
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
- smarty2
- Very Active Forum Member
- Posts: 9976
- Joined: Sun Aug 21, 2005 8:16 am
- Location: 1963, at Snow Hill!
- Contact:
Re: .cost .tgt
Hi Mike, nay worries laddie, i have kept my finger well away from the delete button!mikesimpson wrote:You will notice that Ice does specify this is for the Assets folder - where .xml files are not used. But remember that .proxyxml files ARE used, so if your batch file is *xml instead of *.xml then you are in deep trouble.smarty2 wrote:You can delete .xml files too??
Mike
Best Regards
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
- Ajay1
- Very Active Forum Member
- Posts: 1685
- Joined: Sun Nov 02, 2008 4:37 pm
- Location: Wellington,New Zealand
Re: .cost .tgt
This little utility looks as though it could be quite useful. Where does one find it ? or how do you go about writing a script up ? , says me who has no knowledge when it comes to computer programming.
cheers,
Antony
cheers,
Antony
Windows 10 Home 64-bit,Intel Core i7-2600 CPU @ 340GHz,
12.00GB RAM, NVDIA GeForce GTX 660Ti
12.00GB RAM, NVDIA GeForce GTX 660Ti
Re: .cost .tgt
If they are within the /Assets folder tree, yes. Do NOT delete .xml files _outside_ of the /Assets folder and its subfolders.smarty2 wrote:You can delete .xml files too??
I'm not fat - I'm easy to see
-
Oldpufferspotter
- Well Established Forum Member
- Posts: 887
- Joined: Sun Oct 21, 2007 5:08 pm
Re: .cost .tgt
Here's the Batchfile that I use:
@echo off
echo This program will DELETE all .dds .tgt .cost .cost.tgt files
echo in the current folder and its sub-folders.
echo.
echo Check that this batch file is in the correct folder
echo and if so run it now, if not
echo Exit and move this file into the folder
echo from which you want the .tgt etc files to be deleted
echo and run it from there.
echo.
pause
del /s *.dds
del /s *.tgt
del /s *.cost
del /s *.cost.tgt
pause
Simply key in all that and save as a .batch file. I place the batch file on my desk top as the 'master copy'. Then I place another copy of it in the folder that I want to delete the .cost etc files from and run it from there. It will go through that folder and all sub folders within that folder.
regards Ted.
P.S. when the program pauses, press any key to continue, or ESC to exit the program. I notice that Iceman used the instruction 'end' at the end of his batch file, probably a good idea!
@echo off
echo This program will DELETE all .dds .tgt .cost .cost.tgt files
echo in the current folder and its sub-folders.
echo.
echo Check that this batch file is in the correct folder
echo and if so run it now, if not
echo Exit and move this file into the folder
echo from which you want the .tgt etc files to be deleted
echo and run it from there.
echo.
pause
del /s *.dds
del /s *.tgt
del /s *.cost
del /s *.cost.tgt
pause
Simply key in all that and save as a .batch file. I place the batch file on my desk top as the 'master copy'. Then I place another copy of it in the folder that I want to delete the .cost etc files from and run it from there. It will go through that folder and all sub folders within that folder.
regards Ted.
P.S. when the program pauses, press any key to continue, or ESC to exit the program. I notice that Iceman used the instruction 'end' at the end of his batch file, probably a good idea!
