Jump to content

Simple fast question...


Go to solution Solved by JLogan3o13,

Recommended Posts

Posted (edited)

If _IsChecked($iCheckbox1) Then

                  ;Copy de mes documents
                  FileCopy ("D:\Documents and Settings\" & @UserName & "\My Documents\*.*" , @ScriptDir & "\Profil Save\" & @UserName & "\Documents\" , $FC_CREATEPATH + $FC_OVERWRITE  )

                     EndIf

Does this is supposed to copy folders too ?

(nothing in help file)

Becose it does'nt

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

  • Moderators
  • Solution
Posted

The help file states "Copies one or more files", and under the Related section, points you to DirCopy for folders. What, exactly, is confusing you?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

i thoug file copy was taking folder too . i tryed to search in index Folder etc... but my bad.. i ll try.

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

Posted

When a function doesn't do what you expect it to do then the help file is your friend. Don't guess, don't make any assumptions, just search the help file. If this fails, then ask the forum ;)

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted
  On 2/4/2015 at 2:38 PM, water said:

When a function doesn't do what you expect it to do then the help file is your friend. Don't guess, don't make any assumptions, just search the help file. If this fails, then ask the forum ;)

it s what i did but with the word folder... not "Dir" from Directory ... yeah i am asking some stupid things sometime i know :P Thx mvp's hihi

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

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
  • Recently Browsing   0 members

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