Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Move a folder

 

 'Move a folder .


Private Sub Form_Load()
On Error GoTo errorhandler
Dim fso As New FileSystemObject
fso.MoveFolder "f:\test", "h:\"
errorhandler:
MsgBox (err.Description)
End Sub


Notes:

Add a reference to the Microsoft Scripting library
change the folders you wish to move.
On certain versions of Windows (xp, 2000 etc) you will need permission to move folders

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
octal to decimal conversion(PHP)
display local network information(VBScript)
deletes a folder(VB)
common dialog to list box(VB)
random lines(VB)
flickering form effect(VB)
Reverse sort(PHP)
Slashdot feed(PHP)

    




Copyright © 2003 by programmershelp.co.uk