Hi again, i search the forums but had no luck.
My question is,
Is there a way to self delete file after exit?
or
Is there a way to delete the working folder after exit?
And the other question is that is there a way to refresh the desktop, after i createdirectory the directory isn't visible until i refresh the desktop?
Thanks
Self file after exit or working dir. delete + refresh
Re: Self file after exit or working dir. delete + refresh
Open: http://www.purearea.net/pb/CodeArchiv/English.htmlabc123 wrote:And the other question is that is there a way to refresh the desktop, after i createdirectory the directory isn't visible until i refresh the desktop?
and search for: RefreshDesktopIcons.pb
Re: Self file after exit or working dir. delete + refresh
Thanks eJaneJan wrote:Open: http://www.purearea.net/pb/CodeArchiv/English.htmlabc123 wrote:And the other question is that is there a way to refresh the desktop, after i createdirectory the directory isn't visible until i refresh the desktop?
and search for: RefreshDesktopIcons.pb

Re: Self file after exit or working dir. delete + refresh
> Hi again, i search the forums but had no luck.
> Is there a way to self delete file after exit?
It's in the FAQ: http://www.purebasic.fr/english/viewtopic.php?t=4876
> Is there a way to self delete file after exit?
It's in the FAQ: http://www.purebasic.fr/english/viewtopic.php?t=4876
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Self file after exit or working dir. delete + refresh
Thanks PB, didn't come up search results though.PB wrote:> Hi again, i search the forums but had no luck.
> Is there a way to self delete file after exit?
It's in the FAQ: http://www.purebasic.fr/english/viewtopic.php?t=4876
Now i only need to know how to delete working directory after exit...?
Re: Self file after exit or working dir. delete + refresh
> Thanks PB, didn't come up search results though
It does if you search for "delete running exe", but I guess you do need to
know what to actually search for.
> Now i only need to know how to delete working directory after exit...?
http://www.purebasic.com/documentation/ ... ctory.html
It does if you search for "delete running exe", but I guess you do need to
know what to actually search for.
> Now i only need to know how to delete working directory after exit...?
http://www.purebasic.com/documentation/ ... ctory.html
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
-
- Addict
- Posts: 1058
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re:
I figure by now you have found your solution but just in case OR if anyone else is searching for a solution to delete your own EXE and the working directory it is in:abc123 wrote: Sun Jun 03, 2007 10:23 pm It doesn't delete the working directory of the exe while it is running, what i am trying to do is delete the file and folder it is in after exit, any help?
viewtopic.php?t=87381
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.