Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^6: A DWIM too far?

by eric256 (Parson)
on Jun 18, 2004 at 16:04 UTC ( #367978=note: print w/replies, xml ) Need Help??


in reply to Re^5: A DWIM too far?
in thread A DWIM too far?

The /Y operator on windows forces it to overwrite without confirmation /-Y forces confirmation and there is no documented way to force failure when a file exists already.


___________
Eric Hodges

Replies are listed 'Best First'.
Re^7: A DWIM too far?
by QM (Parson) on Jun 18, 2004 at 18:48 UTC
    I thought I got it to work under XP. Here on Win2K, I agree with you.

    Ah well, I think it's just broken across the board.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

Re^7: A DWIM too far?
by BrowserUk (Patriarch) on Jun 18, 2004 at 19:35 UTC

    Don't use either?

    P:\test\data>type hello.dat Hello world P:\test\data>type goodbye.dat Goodbye cruel world P:\test\data>rename hello.dat goodbye.dat A duplicate file name exists, or the file cannot be found. P:\test\data>type hello.dat Hello world

    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-05-28 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?