Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to get all item names from a folder and save it in other location.

what i pervious did was SHIFT+ right Click any Network folder, Open in Command prompt and write this
dir /b > D:\file.txt


and each and every thing's name was retrived.

since now i have SSIS i need to do same thing but just from a task.

i am doing following but having no luck can anybody help me... no C# Scripts pls. Thank you

SSIS
Execute Process Task Editor
Executable : C:\Windows\System32\cmd.exe 
Arguments: /C  dir /b > D:\file.txt
working Directory: \\10.50.15.60\input


No Errors but the data is wrong its of directory C:\windows i dont want that. i want it of network directory \\10.50.15.60\input or \\media\Movies
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900