Page 1 of 1

command for Saving a program.

Posted: Mon Mar 07, 2011 12:38 pm
by w_nawfal
hello all

i have been trying to find some code enabling me to save a program into more than one location after it had finished running, but unfortunately have not met with much success

what i'm looking for is akin to the line of code used to save graphs

i.e. graph_name.save(options) [path\]file_name

Thank you in advance for your help

Wes

Re: command for Saving a program.

Posted: Mon Mar 07, 2011 12:56 pm
by EViews Gareth
There is no command that will tell a program to save itself (I can't think of a use for such a thing).

However, you could always use the shell command to tell Windows to make a copy of the program etc..

Re: command for Saving a program.

Posted: Tue Mar 08, 2011 6:44 am
by w_nawfal
Thank you Gareth

the reason I though up of using such a command is in order to save any one programme into different locations without having to do it manually.

this way - i can share the latest copy of the programmes i write with my colleagues in the most efficient way.

if ever the decision is made to make such a line of code available to users, i would be very happy :O)

cheers & thank you for the response.

Wes