i need you to give me some scripts

24 posts in this topic

kingooo 0

i want to make portable tool that copy all files in desktop-my documents-other partions & favorite and save this files in archive file. after format when you press double click in this file automatically extract all files that already exist in pc

#RequireAdmin

Opt("TrayMenuMode",1)

DirCopy(@DesktopDir,$ANS&"\" &"kingooo/DesktopDir" & "",1)

DirCopy(@MyDocumentsDir,$ANS&"\" &"kingooo/MyDocumentsDir" & "",1)

DirCopy(@FavoritesDir,$ANS&"\" &"kingooo/FavoritesDir" & "",1)

but really i am not happy because last codes do not make tool that save all file in archive file

Share this post

Link to post

Share on other sites

GEOSoft 63

I think you are starting to push your luck a bit. We are not here to write code for you, on the contrary, our principal role is to help you find out why the code you have written is not working as expected.

I suggest you write some code that you feel should work and if it fails then post it with a request for assistance.

Visit myBlog.. currently not active but it will soon be resplendent with news and views. Alsoplease remove any links you may have to my website. it is soon to be closed and replaced with something else.

Share this post

Link to post

Share on other sites

kingooo 0

I think you are starting to push your luck a bit. We are not here to write code for you, on the contrary, our principal role is to help you find out why the code you have written is not working as expected.

I suggest you write some code that you feel should work and if it fails then post it with a request for assistance.

If Not FileExists(@ScriptDir & '\BackUp') Then DirCreate(@ScriptDir & '\BackUp')