Jump to content
Macro Express Forums

Creatin a folder and copying files from another folder


Mex_New_User
 Share

Recommended Posts

I'm trying to create a macro using an input box to determine the name of a folder in macro express 3.5.

 

For example, an input box pops up and I can type in "A". I want to then use the inputted text and make it the new folder name under a specific directory. I then want to copy all the files from an existing folder over to the newly created folder A.

How would I got about creating a macro like this?

Link to comment
Share on other sites

If I understand correctly, this is a very straightforward process.

 

There are files in a folder C:\files\documents and you want to copy them to C:\important\stuff (stuff will be that variable)

 

First, you want to define a variable using the Variable Set String command, and set value T1 from prompt.

 

Then you want to do a Copy File or Files command, where the first path is C:\files\documents and the new name is C:\important\%T1%\

 

Then when you run the macro, if you put in "stuff" into the prompt, it will copy the folder. There is also a checkbox to go into the subfolders if you want those too.

 

David

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...