Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving a fiel from one location to another
#10
Solved: 10 Years, 9 Months, 3 Weeks ago
Dear Siri,
Use the following code...

Code:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.Movefile = "D:\abc\psychology.doc","E:\abc\ijk"


Make sure in d drive abc folder and psychology.doc exists
and In E drive abc and ijk folder exists.
Reply


Messages In This Thread
RE: Moving a fiel from one location to another - by somisays - 08-09-2008, 12:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to paste file location in QTP camillelola 0 1,351 08-09-2018, 10:54 AM
Last Post: camillelola
  Selecting file saved in a location excellentpawan 1 3,856 02-25-2014, 02:05 PM
Last Post: guin.anirban
  Copy file to network shared location sams001 0 2,972 04-03-2013, 02:10 AM
Last Post: sams001
MyBB Saving an excel file with the same name and same location after updating few columns pKrishna 1 4,750 01-04-2013, 04:40 PM
Last Post: Ankesh
  Moving QTP scripts from QC to a desktop PC adityasrinivasb 1 3,099 08-02-2011, 06:07 PM
Last Post: uma87

Forum Jump:


Users browsing this thread: 1 Guest(s)