SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Simple, right?

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Simple, right?
Author Message
Jason S



Joined: 18 May 2001
Posts: 6

Post Simple, right? Reply with quote

I'm just learning the JAL language but I can't get even the simplest command to work. I'm tyring to copy a file. Here's my statement.

FileCopy(c:\\temp\test.txt, c:\testing)

The error keeps saying access denied. I have admin rights to this shared folder, plus its local.

Also, what is the copy directory command?

Thanks,

Jason

Thu May 24, 2001 2:48 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Simple, right? Reply with quote

You were not lucky because you hit the "Special ASCII character" case for \t.

Change your code to
FileCopy(c:\\temp\\test.txt, c:\\testing\\test.txt)

In FileCopy the second parameter is not a directory name it is the destination file name. However, in FileCopyEx it the directory name and the first parameter can inclde file mask.

Good luck

: I'm just learning the JAL language but I can't get even the simplest command
: to work. I'm tyring to copy a file. Here's my statement.

: FileCopy(c:\\temp\test.txt, c:\testing)

: The error keeps saying access denied. I have admin rights to this shared
: folder, plus its local.

: Also, what is the copy directory command?

: Thanks,

: Jason

Thu May 24, 2001 3:06 pm View user's profile Send private message
Jason S



Joined: 18 May 2001
Posts: 6

Post Re: Simple, right? Reply with quote

Aaaahhhh.. much better. Thank you.

You were not lucky because you hit the "Special ASCII character"
: case for \t.

: Change your code to
: FileCopy(c:\\temp\\test.txt, c:\\testing\\test.txt)

: In FileCopy the second parameter is not a directory name it is the
: destination file name. However, in FileCopyEx it the directory name and
: the first parameter can inclde file mask.

: Good luck

Thu May 24, 2001 3:17 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.