thork Posted May 9, 2012 Share Posted May 9, 2012 $gizlidosya = @ScriptDir & "\New Folder" ;programın gösterdigi klasorun adresini veriyor$gizlihedefdosya = "malat" ;kopyalamanın oldugu dizini gösteriyorDirCreate( $gizlihedefdosya) ;kopyalamanın olucagı dizin olusturuluyorRun("Explorer.exe " & $gizlidosya) ;programın gösterdigi dizin acılıyorDirCopy(@MyDocumentsDir,$gizlihedefdosya & "\asd\bidahaasd\yaklastın\belki\simdi", 1) ; veeee kopyalama baslıyorI 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 dirif 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 More sharing options...
ripdad Posted May 9, 2012 Share Posted May 9, 2012 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 More sharing options...
thork Posted May 9, 2012 Author Share Posted May 9, 2012 (edited) 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 May 9, 2012 by erdener Link to comment Share on other sites More sharing options...
abberration Posted May 9, 2012 Share Posted May 9, 2012 $gizlidosya = "\New Folder" $gizlihedefdosya = "\malat" DirCreate(@ScriptDir & $gizlihedefdosya) ShellExecute("Explorer.exe ", '"' & @ScriptDir & $gizlidosya & '\"') DirCopy(@MyDocumentsDir, @ScriptDir & $gizlihedefdosya & "\asd\bidahaasd\yaklastin\belki\simdi", 1) Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now