Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Problems executing a copy command on win32

by DaWolf (Curate)
on Jan 14, 2004 at 22:26 UTC ( [id://321409]=note: print w/replies, xml ) Need Help??


in reply to Re: Problems executing a copy command on win32
in thread Problems executing a copy command on win32

Damn me, I'm really sorry.

I've just took a glance on exec syntax and specification. Downvote me, I deserve it.

Now a legitimate question: both files are empty (they were created by another app I've made that just creates an Excel document), so they are 0 Kb each.

Windows refuses to copy them as if they don't exist. Is there a workaround for this?

Thanks and sorry again,

Thanks, Paladin.

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");
  • Comment on Re: Re: Problems executing a copy command on win32

Replies are listed 'Best First'.
Re: Re: Re: Problems executing a copy command on win32
by BrowserUk (Patriarch) on Jan 14, 2004 at 22:40 UTC
    Now a legitimate question: both files are empty (they were created by another app I've made that just creates an Excel document), so they are 0 Kb each.

    Windows refuses to copy them as if they don't exist. Is there a workaround for this?

    P:\test>md test P:\test>copy con test\fred ^Z 1 file(s) copied. P:\test>dir test Directory of P:\test\test 14/01/2004 22:32 0 fred 1 File(s) 0 bytes P:\test>md test2 P:\test>copy test\fred test2 1 file(s) copied. P:\test>dir test2 Directory of P:\test\test2 14/01/2004 22:32 0 fred 1 File(s) 0 bytes

    ?


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Timing (and a little luck) are everything!

      Here it dies:

      1 file(s) copied.
      Unable to copy abc.xls. Error: No such file or directory

      my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

        Where does that error message come from? It isn't a standard error message.

        How about showing the command you used to generate it, plus a dir of the source?


        Examine what is said, not who speaks.
        "Efficiency is intelligent laziness." -David Dunham
        "Think for yourself!" - Abigail
        Timing (and a little luck) are everything!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://321409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found