|
-
Nov 20th, 2006, 07:47 AM
#1
Thread Starter
Addicted Member
mkdir from multiple strings
hello guys!
all ok?
what i want to do is a simple .exe that from a datetimepicker and from some lists, create a directory and from a master file, create mulpiple files!
EX. have a C:\teste\xfile.xls
string the value from the datetimepicker mkdir C:\teste\(string Value)
copy the xfile.xls file inside and rename from a list so i have the same file multiple times but whith diferent names
-
Nov 20th, 2006, 09:51 AM
#2
Re: mkdir from multiple strings
Use System.IO.Directory.Create(path) to create a new folder
Use System.IO.File.Copy(source, destination) to copy the file.
-
Nov 20th, 2006, 10:09 AM
#3
Thread Starter
Addicted Member
Re: mkdir from multiple strings
how to convert this bat file in vb.net code
mkdir teste
xcopy Master\*.* /e teste\*.*
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|