Simple Copy File Not Working on XP

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
bmichael
Newbie
Posts: 8
Joined: Wed Dec 28, 2005 1:40 am
Location: Orange County, CA
Contact:

Simple Copy File Not Working on XP

Post by bmichael » Wed Dec 28, 2005 1:45 am

Hi -
I have done some other scripting tests, but am having difficult with something SUPER basic where copyfile just does not work. Here is the initial test code:

Input>Bridgeuser,Enter the first initial & last name of the user
Let>source1=c:\test\*.*
Let>dest1=c:\test\%Bridgeuser%\*.*
CopyFile>source1,dest1

The debug looks fine, variables created perfectly, no issues. Just doesn't copy.

This also doesn't work:
Let>source1=c:\test\*.*
Let>dest1=c:\test\bmichael\*.*
CopyFile>source1,dest1

Same with this:
Let>source1=c:\test\
Let>dest1=c:\test\bmichael\
CopyFile>source1,dest1

It doesn't get much simpler. What's am I missing? :idea:

b.

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed Dec 28, 2005 2:45 am

Please don't post the same question in multiple forums. I have responded with a working solution in the other thread you started http://www.mjtnet.com/usergroup/viewtopic.php?t=2485

bmichael
Newbie
Posts: 8
Joined: Wed Dec 28, 2005 1:40 am
Location: Orange County, CA
Contact:

Sorry...

Post by bmichael » Wed Dec 28, 2005 4:55 pm

Sorry! New to the site. After I posted here, I thought that I was probably suppose to post it in "Technical Scripting". I will check there.

Thanks.
Bruce.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts