In my experience, having blanks in a UNIX path is such a PITA that I do everything to avoid it. Everytime you need to hand it over you have to worry how many escapes (\) you have to do so that it arrives correctly at the end of the information chain.
It is MUCH less hassle to simply use underlines.
Therefore it is my advice to repair the "broken" directory name to my_dir and live happily ever after.
Kurt Bremser
AMOS Austria
Hietzinger Kai 101-105
1130 Wien
+43 59009 80627
Der Geist ist wie ein Fallschirm. Er funktioniert am besten, wenn er ganz offen ist.
Newton was wrong. There is no gravity. The Earth sucks. Von: Nawalramka, Priyanka [priyanka.nawalramka@xxxxxx] Gesendet: Donnerstag, 10. April 2014 08:48 An: users@xxxxxxxxxxxxxxxx Betreff: Escaping space in SetEnv [wd-vc] Hi All, I am trying to set an environment variable using SetEnv directive. I need to set a value containing space characters. Any help on how to escape spaces in the variable value? For example: SetEnv dir_root "/dir1/m1/s1/my dir" I tried enclosing the value in quotations, escaping space using backslash, \040 and \s. Nothing seems to be working. Regards, Priyanka AMOS Austria GmbH 1130 Wien, Hietzinger Kai 101-105 FN 365014k, Handelsgericht Wien UID: ATU 66614737 http://www.allianz.at ******************************************************** Dieses E-Mail und allfaellig daran angeschlossene Anhaenge enthalten Informationen, die vertraulich und ausschliesslich fuer den (die) bezeichneten Adressaten bestimmt sind. Wenn Sie nicht der genannte Adressat sind, darf dieses E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen Personen zugaenglich gemacht noch in anderer Weise verwertet werden. Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten wir Sie, dieses E-Mail und saemtliche angeschlossene Anhaenge zu loeschen. Please note: This email and any files transmitted with it is intended only for the named recipients and may contain confidential and/or privileged information. If you are not the intended recipient, please do not read, copy, use or disclose the contents of this communication to others and notify the sender immediately. Then please delete the email and any copies of it. Thank you. ******************************************************** |