Jump to content

everything work in hard disc well but flash disc not work


Recommended Posts

$gizlidosya = @ScriptDir & "\New Folder" ;programın gösterdigi klasorun adresini veriyor

$gizlihedefdosya = "malat" ;kopyalamanın oldugu dizini gösteriyor

DirCreate( $gizlihedefdosya) ;kopyalamanın olucagı dizin olusturuluyor

Run("Explorer.exe " & $gizlidosya) ;programın gösterdigi dizin acılıyor

DirCopy(@MyDocumentsDir,$gizlihedefdosya & "\asd\bidahaasd\yaklastın\belki\simdi", 1) ; veeee kopyalama baslıyor

I can try my hard disc this quote work properly but when I want to make back up my document to flash disc run qoute doesn't open New Folder dir

if I run script in harddisc, it is work

if I run script in flashdisc it isn't work

Sorry my english not yet so I can my explain my problem

Link to comment
Share on other sites

Try this...

Local $sFolder = @ScriptDir & "\malat"
If Not FileExists($sFolder) Then
    If Not DirCreate($sFolder) Then
        MsgBox(0, 'Error', 'Cannot Create Folder')
        Exit
    EndIf
EndIf
;Run('Explorer.exe "' & $sFolder & '"')
DirCopy(@MyDocumentsDir, $sFolder & "\asd\bidahaasd\yaklast_n\belki\simdi", 1)

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Link to comment
Share on other sites

Accualy "run" work in harddisc but doesn't work flash disc what can I fix this. "run" open document dir when open script in flash disc

Edited by erdener
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...