Daniele,
What you have to do is to create a variable which contains the opening and closing quote as part of the variable. Suppose your quote setting is ' (Ascii 39) (you can find the ascii table in Help) In that case you can define the following statement: Set var V_Directory = ( (CHAR(39)) + 'C: \ ALPHA BETA' + (CHAR(39)) ) To change directory use he command: CHDIR &V_Directory If you have to change the station too, then first change the drive with CHDRV .V_Drive and then change the directory Hope this helps. Tony -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniele Barbieri Sent: vrijdag 17 mei 2013 11:50 To: RBASE-L Mailing List Subject: [RBASE-L] - Directory name with space Hello I have a directory called "ALPHA BETA" (note the space character between ALPFA and BETA ). The command DIR C: \ ALPHA BETA signals "Syntax is incorrect for the command DIR (2045)." Then I do the command: SET VAR vALPHA = 'DIR C: \ ALPHA BETA' &vALPHA but I have the same error message. How can I do? TIA Daniele Barbieri B.M.B. Informatica

