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 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Sep 2008 18:26:09 +0200
Reply-To:     Marta García-Granero <mgarciagranero@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Marta García-Granero <mgarciagranero@gmail.com>
Subject:      Create File Folder with Syntax
In-Reply-To:  <da1bdb9a0809110852w159a9d7cg9b890bbc29f9b0c7@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

J Sutar escribió: > How do I create a folder if it does not exist, and to ignore the command if > it already exist? > > I want to include it at the start of my syntax but for it not to fire out > errors when I re-run the syntax.

Have you tried this one?

HOST COMMAND=['IF not exist C:\Temp MD C:\Temp'].

Best regards, Marta

-- For miscellaneous statistical stuff, visit: http://gjyp.nl/marta/

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


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