logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Jp12687  
#1 Posted : Tuesday, January 23, 2024 11:44:03 PM(UTC)
Jp12687

Rank: Newbie

Groups: Registered
Joined: 6/6/2020(UTC)
Posts: 7
United States
Location: New york

I am looking for help changing a file name on the last file recorded. I see a script that can detect the last file in the folder and add it as an input. But how would I use that same script to identify the file and change the name to something I decide?
doggy  
#2 Posted : Wednesday, January 24, 2024 1:01:19 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: Jp12687 Go to Quoted Post
I am looking for help changing a file name on the last file recorded. I see a script that can detect the last file in the folder and add it as an input. But how would I use that same script to identify the file and change the name to something I decide?


one changes the add as input part to a copy/rename that file instruction

Code:
 System.IO.File.Copy( FileToCopy, NewCopy) 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.