Hi all
I would like to implement this UltraEdit power tip: Edit, Run, and Debug your SAS Programs in UltraEdit
I have tried to set this up, but am getting stymied by spaces in file paths.
I have got everything working up to this section in the .bat file:
But when I run it, it fails. Below is what UE is writing in the output window (note the incorrect handling of the spaces, and note that I have protected file locations and simplified the output by replacing irrelevant portions with the ellipsis)
This is the output window in UE:
This is the Command window (with line breaks added to make it easier to follow):
So the problem seems to be coming in with the %1 and %2 parameters that UE is supplying (according to the tip). I tried placing those in quotes in the .bat file, but that didn't work.
Does anyone have any idea how to get those file locations sent through properly to the command window?
Thanks in advance
I would like to implement this UltraEdit power tip: Edit, Run, and Debug your SAS Programs in UltraEdit
I have tried to set this up, but am getting stymied by spaces in file paths.
I have got everything working up to this section in the .bat file:
Code: Select all
%EXESAS% ^
-CONFIG %CONFIGSAS% ^
-autoexec %AUTOEXECSAS% ^
-sysin %1 -log %2 –nodms
This is the output window in UE:
Code: Select all
c:\Users\...\AppData\Roaming\IDMComp\UltraEdit\runSAS.bat" "C:\Users\...\OneDrive - The University …\...\test.sas" "C:\Users\...\OneDrive - The University …\...\test.log ...
Code: Select all
C:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files>
"c:\Program Files\SASHome\SASFoundation\9.4\sas.exe"
-CONFIG "c:\Program Files\SASHome\SASFoundation\9.4\sasv9.cfg"
-autoexec "c:\Users\...\OneDrive - The University ...\...\Develop Run and Debug your SAS Programs in UltraEdit_files\autoexec.sas"
-sysin "C:\Users\...\OneDrive" - The University …\!USyd Projects\Google "Trends\Data_management\Cov\test.sas"
-log "C:\Users\...\OneDrive" ûnodms
Does anyone have any idea how to get those file locations sent through properly to the command window?
Thanks in advance