Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Windows - have program replace itself

by mshipper (Novice)
on Sep 27, 2004 at 21:13 UTC ( #394357=note: print w/replies, xml ) Need Help??


in reply to Windows - have program replace itself

:) This is my first post, so Please be nice.

Any ways here I go.
1. copy the updated files into thier repsective locations.
2. Run the new script in place of the old one
exec 'scriptname', @ARGV;


That is what I have for you...
  • Comment on Re: Windows - have program replace itself

Replies are listed 'Best First'.
Re^2: Windows - have program replace itself
by jdtoronto (Prior) on Sep 28, 2004 at 01:18 UTC
    mshipper

    Welcome to the Monastery! We were all new once.

    Your suggestion is basically sound - and I knew that already. My problem was that I wanted the script to replace itself automatically. Thanks for your suggestion and enjoy your time here, if you find it only partly as worthwhile as I have then it will be an immensely rewarding experience for you.

    jdtoronto

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2023-02-08 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (40 votes). Check out past polls.

    Notices?