LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 26 Sep 2005 17:12:29 +0200
Reply-To:     Marta García-Granero
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Marta García-Granero
Organization: Asesoría Bioestadística
Subject:      Re: Double save data file
In-Reply-To:  <>
Content-Type: text/plain; charset=ISO-8859-15

Hi Ralph,

RG> Does anyone know of an add-in to SPSS that permits a one-click save to two RG> different file locations? Wordtoys (_www.wordtoys.com_ RG> ( ) has a great add-in program for RG> MS Word that does this and far more. I am RG> constantly saving data files to two locations for back-up purposes and really RG> need a toolbar feature to do this.

I don't know of any toolbar feature, but you could use MACRO for that. The following code is untested, but should work:

DEFINE !SAVE2(!POS=!TOKENS(1)). * Location #1 is C:\My Documents\ *. !LET !loc1=!CONCAT(!UNQUOTE('C:\My Documents\'),!1,!UNQUOTE('.sav')). SAVE OUTFILE=!loc1. * Location #2 is D:\Backup\ *. !LET !loc2=!CONCAT(!UNQUOTE('D:\Backup\'),!1,!UNQUOTE('.sav')). SAVE OUTFILE=!loc2. !ENDDEFINE.

* MACRO call*. !SAVE2 myfile.

Regards, Marta

Back to: Top of message | Previous page | Main SPSSX-L page