|
Post by xxgeek on Mar 6, 2021 23:32:02 GMT
Sorry folks, I just noticed this while doing some testing on Project Organizer. Will be posting a new version tonight to take care of the problem with new features too.
The problem? When using cmd.exe to make files in folders (like bmp, wav, apps etc) the folder MUST exist before attempting to copy any files to it. If the folder does NOT exist, and cmd.exe tries to put a file into the non existing folder, it will put the file in the last folder on the path that DOES exist. Therefore putting files like .bmp, .wav and any other file for that matter into the root of the Just Basic Projects folder (sorry I didn't see this earlier as I was testing) I have new better version almost ready to post here. Since I just noticed this problem, it will be a little while before I can get the coding done, so keep this problem in mind if you're using my Project Organizer app.
I am going to remove the making of folders options. And just make the folder automatically when the file options are used. So when a user clicks to copy a file like .bmp to the bmp folder, the bmp folder will be created before the .bmp is added. To be fixed for all file copying.
Again I wish I had known this earlier, sorry if it has caused problems.
I only have Win 10 to test with, and it may only be a problem in Win 10. If you have another version of Windows and can test for me, I would appreciate the knowledge.
|
|
|
Post by honky on Mar 7, 2021 2:28:11 GMT
Why use cmd.exe when JB can create folders?
|
|
|
Post by xxgeek on Mar 7, 2021 18:58:42 GMT
Why use cmd.exe when JB can create folders? That is a very good question honky and I'm glad you asked it. I had assumed it wasn't possible because when I first started with JB coding a couple of months ago I had some code from a respected intelligent member that was using cmd to copy files. Since you ask this question last night, I have reworked the code for the project organizer for all the cmd.exe commands and the program is now cmd.exe free. It is entirely JB code now and I will be posting it shortly. If you hadn't asked, it wouldn't have crossed my mind until some later unknown date. I just need to clean out all the commented out references to cmd.exe and it will be posted. Many fixes and it has a menu on each window to allow users to do more.
|
|