想要使用文件系统任务创建目录 [英] want to create directory using File system task

查看:93
本文介绍了想要使用文件系统任务创建目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


 


我正在尝试使用文件系统任务创建目录。我将操作字段设置为"创建目录"。在文件系统任务中。我想给它起名称像"xyz"和我想要创建它的路径。文件系统任务中的哪些字段应该配置
?因此,当执行包时,它应该创建名为"xyz"的目录。以及我在文件系统任务中配置的路径。


 


 


  ;


谢谢,


 

解决方案


嗨!


 


我正在尝试使用文件系统任务创建目录。我将操作字段设置为"创建目录"。在文件系统任务中。我想给它起名称像"xyz"和我想要创建它的路径。应该配置文件系统任务中的哪些字段?因此,当执行
包时,它应该创建名为"xyz"的目录。以及我在文件系统任务中配置的路径。


 


创建3个变量 


@ [User :: sourcepath] value  say =  C:\


  @ [User :: folder] value say = XYZ


和PATH 


将PATH属性设置为评估为表达式true,将表达式设为  @ [User :: sourcepath] +  @ [User :: folder] 


创建FILE系统任务集isSourcePathVAriable = TRUE 


并将源变量设为USER:PATH 


运行包裹工作.. 


希望有帮助 


 


Hi!

 

I am trying to create directory using file system task. I set the operation field to "create directory" in file ystem task. I wants to give it name like "xyz" and path where I want to create it. what fields in file system task should be configured?So,when package is executed it should create directory named "xyz" and the at the path I configure in file system task.

 

 

 

Thanks,

 

解决方案

Hi!

 

I am trying to create directory using file system task. I set the operation field to "create directory" in file ystem task. I wants to give it name like "xyz" and path where I want to create it. what fields in file system task should be configured?So,when package is executed it should create directory named "xyz" and the at the path I configure in file system task.

 

Create 3 variables 

@[User::sourcepath] value  say =  C:\

 @[User::folder] value say = XYZ

and PATH 

set PATH properties as evaluate as expression true , give expression as @[User::sourcepath] +   @[User::folder] 

create FILE system task set isSourcePathVAriable = TRUE 

and give source variable as USER:PATH 

run the package job done .. 

hope that helps 

 


这篇关于想要使用文件系统任务创建目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆