Jump to content
Macro Express Forums

Recommended Posts

Posted

I am trying to copy a file name, create a new directory names after that file and move the file there.

 

Clipboard Empty

Clipboard Start Copy

Clipboard End Copy

Variable Set String %T1% from Clipboard

Move File or Files: ""%t1%"

Posted

Try Clipboard Copy (CTRL-c) instead of Clipboard Start Copy / Clipboard End Copy.

 

I can't quite figure out what the Start Copy / End Copy do, but it is NOT a standard copy-to-clipboard.

Posted

Tried that too.

Same error.

Invalid characters in file name.

I think it must be copying the FILE and not the file name.

 

 

Any other way to do this:

I want to create a new folder named the same as the file and then move the file there.

Posted

I suggest you use the file manipulation commands instead of trying to copy things from Explorer.

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...
×
×
  • Create New...