Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Passing Filename Arguments in Execute Task Process

$
0
0

Hi All,

Having an issue trying to pass a filename as an argument to a batch file from a Execute Task Process.  The filename passes fine if the filename contains no spaces but as soon as a space is invloved it truncates the filename.

EG:

Filename1.txt would pass fine and be echoed out to a test file by my simple batch below:

echo %1 > file.txt

However, if my filename is like "Filename1 with spaces.txt" only Filename1 is getting output.

Any ideas how to cater for the spaces?

Many Thanks,

Slash.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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