Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ren- turns file into a folder
#1
This script renames a txt file but for some reason turns it into a folder, and thereafter the folder does not delete each time but they accumulate.
I just want to rename a file.
*scratches head*
 
Code:
Copy      Help
str s
DATE d.getclock
s.timeformat("{D} {hhmmss}" d)
str n.from("g:\last backup " s ".txt")
ren- "g:\last backup*.txt" n


Messages In This Thread
ren- turns file into a folder - by Davidovsky - 03-11-2021, 05:19 AM
RE: ren- turns file into a folder - by Kevin - 03-11-2021, 02:03 PM
RE: ren- turns file into a folder - by Davidovsky - 03-12-2021, 04:07 AM
RE: ren- turns file into a folder - by Kevin - 03-12-2021, 04:43 AM
RE: ren- turns file into a folder - by Davidovsky - 03-12-2021, 09:55 AM
RE: ren- turns file into a folder - by Kevin - 03-12-2021, 01:43 PM
RE: ren- turns file into a folder - by Davidovsky - 03-13-2021, 04:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)