code to rename click and drag file

GaryPanic

Smoke me a Kipper,Skipper
Local time
Today, 09:44
Joined
Nov 8, 2005
Messages
3,309
OK
or am I pushing it

-

more info

I have a click a drag box (web browser) that directs to a folder say
C:test\12345\

and I want to drag across a file and it renames itself - I might be clutching at straws on this one
Is there code snippet around that when you click and drag a file into a folder
(via an Access form ) that will rename the file

example
test.pdf to something along the lines of test 130519 1132
(being 13th May 2019 and time 11.32)
any thoughts would be appreciated.

regards
 
Code:
name OLDFILENAME AS NEWFILENAME
kill OLDFILENAME

not sure without checking, but name might copy if the filenames are on different devices.Kill will delete a file.
 
Interesting ...
I may go silent on this one-while I ponder...:)
 

Users who are viewing this thread

Back
Top Bottom