Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving Files
#1
Hi Guys,

I'm trying to move a file which have "DataBy" in the name    to the folder C:\ZDATA\WE    renamed as "10_11_2018.xls".

I tried:

ren- "$user profile$\Downloads\*DataBy*.xls" "C:\ZDATA\WE\10_11_2018.xls"

But QM is creating a folder called "10_11_2018.xls"
#2
Macro Macro58
Code:
Copy      Help
Dir d
if d.dir("$user profile$\Downloads\*DataBy*.xls")
,ren- d.FullPath "C:\ZDATA\WE\10_11_2018.xls"
#3
Perfect! Thank you, Gintaras.


Forum Jump:


Users browsing this thread: 1 Guest(s)