Re: Renaming a folder in Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...
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


I didn't use win32lib, i can never figure out which of the 100's of versions work with each application, since no one includes such files with their contributions.

I used and use a slightly modified WIN32FIL.EW by Jeffrey Fielding and mod'd by Brian Broker. It's been used in one app running on winxp SP1, SP2, SP3, Home and Pro editions, several times a day, since ~2003 (or before). The olde File.e (with getf() added) is also a great standard include.

useless

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

Search



Quick Links

User menu

Not signed in.

Misc Menu