| View previous topic :: View next topic |
| Author |
Message |
kadil Power User

Joined: 13 Feb 2008 Posts: 50
|
Posted: Thu Feb 21, 2008 2:36 pm Post subject: [SOLVED] filecopy command |
|
|
Hello,
I am trying to use the filecopy command in linux, and keep getting errors with the path string format that I am using. The way I am writing the command is:
filecopy "/home/kadil/test.txt", "/home/kadil/other_directory/text.txt"
It is probably a stupid mistake, but I cannot see the problem yet.
Any assistance would be appreciated.
Regards,
Kim
Last edited by kadil on Thu Feb 21, 2008 5:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
TheGurkha General User


Joined: 30 Dec 2006 Posts: 35 Location: North Wales, United Kingdon
|
Posted: Thu Feb 21, 2008 3:02 pm Post subject: |
|
|
This isn't a linux forum you know....
But I think you probably need to use cp instead of filecopy, and don't specify the filename inthe target.
See this link
http://www.computerhope.com/unix/ucp.htm _________________ Grunting - the cost free hobby for all. |
|
| Back to top |
|
 |
kadil Power User

Joined: 13 Feb 2008 Posts: 50
|
Posted: Thu Feb 21, 2008 3:08 pm Post subject: |
|
|
so instead of using the oobasic filecopy command, use the shell("cp ....") command. That'll do. I would rather my app be more portable, but I can code around it.
Thanks.
Kim |
|
| Back to top |
|
 |
|