Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move a file from one folder to another folder

Status
Not open for further replies.

TomBarrand

Programmer
Aug 9, 2000
162
GB
I want to use a VBSscript to move a file from one folder to another folder. Can anyone offer any suggestions or point me to a URL where there might be some sample code.

Thanks,

Tom
 
Here is some code to help
Code:
set fso=CreateObject("Scripting.FileSystemObject")
fso.MoveFile "c:\config.sys", "c:\windows"
Or u could go at
and search for "FileSystemObject" ________
George, M
 
my personal favorite quick ref:


found at:

They have all major scripting languages, Web technologies, everything right there in very easy-to-read-and-understand format. A one stop syntax shop.
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top