Re: Renaming a folder in Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
ArthurCrump said...
AndyDrummond said...

I am using Euphoria 3 still, with Judith's IDE and Win32Lib by almost everyone. I'm in XP SP3. I'm writing a program to vet my folder & file names for backup with Amazon, who don't like some characters that I can use OK.

Trouble is, I don't see how to rename a directory or folder. No CMD command, nothing in Win32Lib, so I wondered if one of you knowledgeable guys would know how to do it? Any ideas welcomed ...

win32lib does have a function, but it is called moveFile, which can be used to move a file or folder to a new location on the same volume or to rename it. The return code is True if successful or False if it fails.

I have tried it (although on Euphoria version 4 and win32lib to match) and it does work on directories.

Arthur

I went through this before. I think Kat knew how to do it. But I cant find her solution. http://openeuphoria.org/forum/110650.wc#110650

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu