<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Quoting program name &amp; file path argument in filename pipe on Windows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34767#M6867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS 9.2 on Windows XP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;options ls=max;&lt;/P&gt;&lt;P&gt;filename foo pipe " ""C:\Program Files\sysinternals.com\handle.exe"" -u ""%sysfunc(pathname(work))"" ";&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile foo;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp; putlog _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;filename foo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I need to pass a quoted path to the program since it has a space in the path.&amp;nbsp; I need to pass a quoted file path to handle because the tildes in the short path throw off the program.&amp;nbsp; My actual program will use the %sysfunc(pathname(whatever)) function to get the pathname to an allocated library, which might contain a space or a tilde (if the short name is returned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;1304 options ls=max;&lt;/P&gt;&lt;P&gt;1305 filename foo pipe " ""C:\Program Files\sysinternals.com\handle.exe"" -u ""%sysfunc(pathname(work))"" ";&lt;/P&gt;&lt;P&gt;1306 data _null_;&lt;/P&gt;&lt;P&gt;1307 infile foo;&lt;/P&gt;&lt;P&gt;1308 input;&lt;/P&gt;&lt;P&gt;1309 putlog _infile_;&lt;/P&gt;&lt;P&gt;1310 run;&lt;/P&gt;&lt;P&gt;NOTE: The infile FOO is:&lt;/P&gt;&lt;P&gt;Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;PROCESS="C:\Program Files\sysinternals.com\handle.exe" -u "C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556",&lt;/P&gt;&lt;P&gt;RECFM=V,LRECL=256&lt;/P&gt;&lt;P&gt;Stderr output:&lt;/P&gt;&lt;P&gt;'C:\Program' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;NOTE: 0 records were read from the infile FOO.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.06 seconds&lt;/P&gt;&lt;P&gt;user cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;system cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;Memory 188k&lt;/P&gt;&lt;P&gt;OS Memory 16240k&lt;/P&gt;&lt;P&gt;Timestamp 26-Oct-11 18:10:31&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I cut and paste the text from PROCESS= into a cmd window it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;C:\&amp;gt;"C:\Program Files\sysinternals.com\handle.exe" -u "C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556"&lt;/P&gt;&lt;P&gt;Handle v3.41&lt;BR /&gt;Copyright (C) 1997-2008 Mark Russinovich&lt;BR /&gt;Sysinternals - &lt;A href="http://www.sysinternals.com"&gt;www.sysinternals.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\regstry.sas7bitm&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0001.sas7bitm&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 668: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\sasmacr.sas7bcat&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 67C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0002.sas7butl&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1090: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0009.sas7butl&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10C4: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0019.sas7butl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If I remove the path filter the command works fine from SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to fix this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 07:52:45 GMT</pubDate>
    <dc:creator>ScottBass</dc:creator>
    <dc:date>2011-10-26T07:52:45Z</dc:date>
    <item>
      <title>Quoting program name &amp; file path argument in filename pipe on Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34767#M6867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS 9.2 on Windows XP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;options ls=max;&lt;/P&gt;&lt;P&gt;filename foo pipe " ""C:\Program Files\sysinternals.com\handle.exe"" -u ""%sysfunc(pathname(work))"" ";&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; infile foo;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp; putlog _infile_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;filename foo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I need to pass a quoted path to the program since it has a space in the path.&amp;nbsp; I need to pass a quoted file path to handle because the tildes in the short path throw off the program.&amp;nbsp; My actual program will use the %sysfunc(pathname(whatever)) function to get the pathname to an allocated library, which might contain a space or a tilde (if the short name is returned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P&gt;1304 options ls=max;&lt;/P&gt;&lt;P&gt;1305 filename foo pipe " ""C:\Program Files\sysinternals.com\handle.exe"" -u ""%sysfunc(pathname(work))"" ";&lt;/P&gt;&lt;P&gt;1306 data _null_;&lt;/P&gt;&lt;P&gt;1307 infile foo;&lt;/P&gt;&lt;P&gt;1308 input;&lt;/P&gt;&lt;P&gt;1309 putlog _infile_;&lt;/P&gt;&lt;P&gt;1310 run;&lt;/P&gt;&lt;P&gt;NOTE: The infile FOO is:&lt;/P&gt;&lt;P&gt;Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;PROCESS="C:\Program Files\sysinternals.com\handle.exe" -u "C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556",&lt;/P&gt;&lt;P&gt;RECFM=V,LRECL=256&lt;/P&gt;&lt;P&gt;Stderr output:&lt;/P&gt;&lt;P&gt;'C:\Program' is not recognized as an internal or external command,&lt;/P&gt;&lt;P&gt;operable program or batch file.&lt;/P&gt;&lt;P&gt;NOTE: 0 records were read from the infile FOO.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.06 seconds&lt;/P&gt;&lt;P&gt;user cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;system cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;Memory 188k&lt;/P&gt;&lt;P&gt;OS Memory 16240k&lt;/P&gt;&lt;P&gt;Timestamp 26-Oct-11 18:10:31&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I cut and paste the text from PROCESS= into a cmd window it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;C:\&amp;gt;"C:\Program Files\sysinternals.com\handle.exe" -u "C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556"&lt;/P&gt;&lt;P&gt;Handle v3.41&lt;BR /&gt;Copyright (C) 1997-2008 Mark Russinovich&lt;BR /&gt;Sysinternals - &lt;A href="http://www.sysinternals.com"&gt;www.sysinternals.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\regstry.sas7bitm&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0001.sas7bitm&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 668: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\sasmacr.sas7bcat&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 67C: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0002.sas7butl&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1090: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0009.sas7butl&lt;BR /&gt;sas.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid: 2556&amp;nbsp;&amp;nbsp; INTERNAL\sbass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10C4: C:\DOCUME~1\sbass\LOCALS~1\Temp\SAS Temporary Files\_TD2556\_tf0019.sas7butl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;If I remove the path filter the command works fine from SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to fix this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 07:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34767#M6867</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2011-10-26T07:52:45Z</dc:date>
    </item>
    <item>
      <title>Quoting program name &amp; file path argument in filename pipe on Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34768#M6868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure whether it can work. But could try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; filename foo pipe '"C:\Program Files\sysinternals.com\handle.exe" -u "%sysfunc(pathname(work))" ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; %let p=%sysfunc(pathname(work));&lt;/P&gt;&lt;P&gt; filename foo pipe '"C:\Program Files\sysinternals.com\handle.exe" -u "&amp;amp;p" ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 08:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34768#M6868</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-10-26T08:56:56Z</dc:date>
    </item>
    <item>
      <title>Quoting program name &amp; file path argument in filename pipe on Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34769#M6869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&amp;nbsp; Maybe I'm still too young to have discovered everything yet, but I've never seen a directory name, in windows, that had a file extension.&amp;nbsp; is a directory labeled sysinternals.com legal in itself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 12:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34769#M6869</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-10-26T12:49:47Z</dc:date>
    </item>
    <item>
      <title>Quoting program name &amp; file path argument in filename pipe on Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34770#M6870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art, This is totally fine directory naming convention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give this a try...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; call execute('filename foo pipe "C:\Program Files\sysinternals.com\handle.exe" -u "' || "%sysfunc(pathname(work))" || '";');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not use windows so I cannot test, but have used something similar to this previously when I did use windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 17:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34770#M6870</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-10-26T17:24:21Z</dc:date>
    </item>
    <item>
      <title>Quoting program name &amp; file path argument in filename pipe on Windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34771#M6871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if an old &lt;A href="http://listserv.uga.edu/cgi-bin/wa?A2=ind0805C&amp;amp;L=sas-l&amp;amp;P=R13117"&gt;sas-l posting&lt;/A&gt; of mine helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 20:47:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-program-name-file-path-argument-in-filename-pipe-on/m-p/34771#M6871</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-10-26T20:47:40Z</dc:date>
    </item>
  </channel>
</rss>

