Quantcast
Viewing all articles
Browse latest Browse all 2544

String variable send as arguments adding single quotes

I'm having an issue with toad adding quotes to argument when using the Run Program activity.

My variable formula  calelled myDate = To_char(Current_date(), 'YYYY-MM-DD') .

my batch test batch command is simple. 

@echo > C:\users\myuser\desktop\%1.txt
pause

if I run this from cmd line I do  test.bat 2018-01-31  and a file with name 2018-01-31 gets created. but If I run this from toad with argument #myDate# 

then a file with name '2018-01-31' is created. the issue here is the toad is sending the date surround with single quotes. is there a way to not send these quotes? 


Viewing all articles
Browse latest Browse all 2544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>