Moving Files



I have a programme I wrote in VB6 that when given a path with a wildcard
filename and a filetype will move all files with that extension e.g.
MoveFile("C:\FOLDERNAME\*.FILETYPE", NewLocation). I am trying to do the
same thing in VB.Net 2005 but it doea not appear to accept the wildcard
filename. Any help much appreciated. TIA
--
ats@jbex

Don't believe them
Don't believe them
Question everything you're told

SLF - Suspect Device
.



Relevant Pages

  • Re: Using an Excel sheet for batch delete
    ... but wondered what the routine would make of the situation where the input to both source and destination popups was identical. ... When I used it on filenames with no extension, ... Does the filename contain any dots. ... If SourcePath = "" Then Exit Sub ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Common Dialog - Change file extension
    ... VB's dialog (in fact no common dialog) provides this ... In order to change the extension you have to: ... - send a message to the control to extract the current text in the filename ... the 'Save as type' combobox in the Common Dialog Control. ...
    (microsoft.public.vb.general.discussion)
  • Re: Apply LEN result to string?
    ... If the end result is to strip the extension off a filename then you could do ... Public Function RemoveExtension(ByVal FileName As String, ... Using VB to fetch the filename and placing it in cell B1., ...
    (microsoft.public.excel.programming)
  • Re: Cant copy/paste
    ... MS-MVP Windows Shell/User ... I have these five Nvidia entries disabled. ... Filename: C:\WINDOWS\System32\nvshell.dll ... Extension Name: Desktop Explorer Menu ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Having trouble with OLE - Help please 3rd time asking - No respons
    ... Most of these relate primarily to images, but can be applied to any type of file ... need to parse the extension from the full path when the user selects a file, ... The following FAQ shows how to parse a filename from a full path? ... the path by getting the database location then appending the relative part of the path and the filename. ...
    (microsoft.public.access.modulesdaovba)