selkov Posted September 9, 2008 Report Share Posted September 9, 2008 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%" Quote Link to comment Share on other sites More sharing options...
rberq Posted September 9, 2008 Report Share Posted September 9, 2008 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. Quote Link to comment Share on other sites More sharing options...
selkov Posted September 9, 2008 Author Report Share Posted September 9, 2008 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. Quote Link to comment Share on other sites More sharing options...
Cory Posted September 10, 2008 Report Share Posted September 10, 2008 I suggest you use the file manipulation commands instead of trying to copy things from Explorer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.