Please help me, I need a command for copy a file

Hello,
i need a command to copy a file, but I dont't need the copy-dos command, because it doesn't work with some folders (these, which have a space - array into) for example: "hallo welt"

and now I need anorther one, who can work with these files. If you have an idear how does it work correcly with the dos-copy command, it would be cool.

thanks, (sorry, but my english isn't so perfect!)

Comments

  • : Hello,
    : i need a command to copy a file, but I dont't need the copy-dos command, because it doesn't work with some folders (these, which have a space - array into) for example: "hallo welt"
    :
    : and now I need anorther one, who can work with these files. If you have an idear how does it work correcly with the dos-copy command, it would be cool.
    :
    : thanks, (sorry, but my english isn't so perfect!)
    :

    [blue]are you using this in a Windows command prompt? It should recognize long file names -- maybe you need to enclose the path in your string in quotes: (note the back-slashes)

    [code]
    system("copy "c:\my diretory\hello weit" someotherfile");
    [/code]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories