![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Need to transfer *.log files from one drive(c:/) to another Hi, Our application creates a *.log files on daily basis and these old log files will get saved with date/sequance number. So the drive(c:/) will get filled with these files. Due to this, the application is hanging because of the low disk space. So i want to write a vbscript to move these old files. So that i can map this with one task and can run this once in a month automatically. Could someone help me on this. The file name will be like this: exportal081202.log Thanks, Sarvesh |
My System Specs![]() |
| | #2 (permalink) |
| Vista Ultimate x64 | Re: Need to transfer *.log files from one drive(c:/) to another Hi, I think, this problem can be solved using the following code: Dim FSO Set FSO = CreateObject("Scripting.FileSystemObject") FSO.MoveFile "c:\sample\*.txt", "c:\x\" put the above code in a function and then implement the code. It has to work. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Transfer 32 bit to 64 bit - new drive | Vista installation & setup | |||
| Loss of function of Start Orb + desktop, C Drive unable to transfer files now | Vista performance & maintenance | |||
| Need to transfer files from one drive(c:/) to another drive(d:/)Options | VB Script | |||
| Can I transfer the available 10GB on my D drive over to the C drive? | Vista General | |||
| Can I transfer the available 10GB on my D drive... | Vista file management | |||