Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Jul 15, 2006 Posts: 7
Posted: Sat Jul 15, 2006 11:34 am Post subject: prog to empty cache folder
hi all i'm a newbie in coding and i want to make a program that empties the cache folder. i have no idea what apps i need. i would like it to automaticly empty the cache folder when u click on it. thank you in advance 4 ur help.
j8994 Moderator
Joined: Feb 05, 2006 Posts: 1853 Location: Tennessee, USA
Posted: Sat Jul 15, 2006 4:30 pm Post subject:
first u need a leal copy of the xdk, and visual studio, or you can use the unleasx dash and script it ofr thatpurose _________________ Please post all PC Questions at PC-HQ.com
hakawanna_B Xbox-HQ Newbie
Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Jul 15, 2006 Posts: 7
Posted: Sat Jul 15, 2006 11:15 pm Post subject:
ok how do i script it into unleash x
AngelosDracul V.I.P. Lifetime
Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Mar 24, 2005 Posts: 1755
Posted: Sun Jul 16, 2006 2:26 am Post subject:
Python scripting via XBMC might be a bit easier. Check out the xbmc site:
and see if they have anything on python scripting and such. I know using pythons has made my modding habit much more enjoyable. _________________ "That which does not kill you, only makes you stronger."
Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Jul 15, 2006 Posts: 7
Posted: Sun Jul 16, 2006 10:02 am Post subject:
does anybody know where there is a list for batch script commands that i could look at i am trying to create a folder to replace the E:\cache\ after i delete it.
Greven Xbox-Hq Genius Xbox Version: Xbox V1.6 Modded: Xecuter 3 CE
Joined: Jan 19, 2006 Posts: 2755 Location: Calgary, Alberta, Canada
Posted: Thu Jul 20, 2006 8:43 am Post subject:
I actually liked the idea so much I implemented it myself:
<List Text="Empty Cache" Sort="Off" Batch="True">
<Item Action="AskUser" Arg1="Format">Are you sure you want to wipe all the cache files? The system will reboot after the cache is wiped.</Item>
<Item Action="Delete" Arg1="E:\CACHE"></Item>
<Item Action="Format" Arg1="X">Format X Drive</Item>
<Item Action="Format" Arg1="Y">Format Y Drive</Item>
<Item Action="Format" Arg1="Z">Format Z Drive</Item>
<Item Action="Restart"></Item>
</List> _________________
Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Jul 15, 2006 Posts: 7
Posted: Thu Jul 20, 2006 8:44 pm Post subject:
yeah i know i can delete it with out recreating it now after some mucking around but if u delete it and its already been deleted u get an error. I softmod for people at work on the side and i want to make it bug free otherwise i'll be getting phone calls all the time reporting errors. thanks for all your help. i will implement the zip idea.
on another note is their somewhere i can learn all the syntax and commands for unleash x batch script.
hakawanna_B Xbox-HQ Newbie
Xbox Version: ver 1.6 Modded: softmod + 40 gig hdd
Joined: Jul 15, 2006 Posts: 7
Posted: Fri Jul 21, 2006 8:27 pm Post subject:
ok so i tried to implement the zip idea but it starts the teext editor for some reason why would that be
Greven Xbox-Hq Genius Xbox Version: Xbox V1.6 Modded: Xecuter 3 CE
Joined: Jan 19, 2006 Posts: 2755 Location: Calgary, Alberta, Canada
Posted: Fri Jul 21, 2006 9:08 pm Post subject:
Can you paste the markup that your using?
[EDIT]
I used the following and it worked fine for me:
Code:
<List Text="Empty Cache" Sort="Off" Batch="True">
<Item Action="AskUser" Arg1="Format">Are you sure you want to wipe all the cache files? The system will reboot after the cache is wiped.</Item>
<Item Action="Delete" Arg1="E:\CACHE"></Item>
<Item Action="Format" Arg1="X">Format X Drive</Item>
<Item Action="Format" Arg1="Y">Format Y Drive</Item>
<Item Action="Format" Arg1="Z">Format Z Drive</Item>
<Item Action="Unzip" Arg1="F:\CACHE.zip" Arg2="E:\"></Item>
<Item Action="Restart"></Item>
</List>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum