Visual Studio-- Copying Files Tags: Programming Filesystem Visual Studio Computers Apps Last response: June 28, 2010 2:26 PM in Applications Share k3y3n1n June 25, 2010 4:03:44 PM I am using Visual Studio 2010 what i want to do is copy all the files in one directory >> Then create a new directory with the current date and place those copied files into that new directory. I was using this My.Computer.FileSystem.CopyFile( _ "C:\UserFiles\TestFiles\testFile.txt", _ "C:\UserFiles\TestFiles2\testFile.txt", _ FileIO.UIOption.AllDialogs, _ FileIO.UICancelOption.DoNothing) but do i really have to list every file or can i jut do *.txt Also how put the date stamp on directory More about : visual studio copying files k3y3n1n June 25, 2010 4:57:45 PM this what i got for the date stamp on folder Public Sub fnCreateLogFolder() Dim fs Dim folderpath 'create reference for file system object Set fs = CreateObject("Scripting.FileSystemObject") 'set basic folder path to D: we avoid c: because it may be contain system files folderpath = "D:\" 'Check folder name "log" in folderpath If fs.FolderExists(folderpath & "\Log") = True Then If fs.FolderExists(folderpath & "\Log\" & Replace(Format(Now(), "dd/MM/yyyy"), "/", "_")) = True Then Exit Sub Else fs.createfolder folderpath & "\Log\" & Replace(Format(Now(), "dd/MM/yyyy"), "/", "_") End If Else 'if log folder missing then create it fs.createfolder folderpath & "\Log" fs.createfolder folderpath & "\Log\" & Replace(Format(Now(), "dd/MM/yyyy"), "/", "_") End If End Sub need help on copying files k3y3n1n June 28, 2010 2:26:32 PM ANYONE? Can't find your answer ? Ask ! Publish Related resources: Forumrunning cd and copying files ForumInformation on known setup issues see the Microsoft Visual Studio readme file re Forum[Solved] Creating a .cpp in Visual Studio 2010 ForumThis this spec excessive for Visual Studio 2008? ForumWhat is Microsoft Visual Studio ?? ForumWhere should visual studio 2010 go ForumWindows 7, Photoshop, Visual Studio Developer on SSD ForumVisual Studio Reinstallation Error Foruminstalling visual studio .net 2003 on D: drive ForumUnable to install Microsoft Visual Studio 6.0 ... ForumDeveloper Rig - Visual Studio 2005 - Suggestions? ForumVisual Studio 4.0 Setup Q Forumlearn to program w/ visual studio ForumMicrosoft Visual Studio .NET ForumFS: Microsoft Windows XP Pro, Visual Studio .NET ForumWhat is the difference between Extended and normal version of a software? Forum[Solved] Removing strange files ForumCondensing Audio Files ForumWhy won't my downloaded files work? ForumMoving MS money files to a new computer More resources Read discussions in other Applications categories Graphics Internet Applications Multimedia Office Security CAD Distributed Computing Drivers Enterprise Software Firmware Programming Photoshop Skype Wordpress !