Convert file <> folder
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Convert file <> folder
Hello at all
Is it possible to convert a file to folder or a folder to a file.
It is possible to mystify WINDOWS by changing its FAT ?
Thanks for your answer
Is it possible to convert a file to folder or a folder to a file.
It is possible to mystify WINDOWS by changing its FAT ?
Thanks for your answer
The happiness is a road...Not a destination
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Thats a good newsYes
But you are funny
Obviously, you are so strong, that all your answers at a beginner question start by "YES"
But, that is more interesting, is the explication after the "YES".
And i search everywhere in the POST, and there is nothing after the "YES" in your answer.
Can you make that in PureBasic ??
With API ?
Is it in ASM ???
Anyway, for the tree solutions, I am too bad to respond
Make believe WINDOWS a file is a directory or vice versaWhat the hell is meant by "mystifying WINDOWS"?
I believe, it must modify the first caracter of the name of element or something like that.
A ? is delete, but DOBRO in french forum said me, 0 or 1 somewhere said at WINDOWS is a folder or a file.
I don't know more :roll:
The happiness is a road...Not a destination
@Kwaï chang caïne
Do you mean you want to change the NTFS/FAT partition tables?
I don't think it's possible 'cause a file has an entry in the table containing
its size, address to the data on the HD and some other flags, whereas a folder
is just a special entry in the partition table.
By the way, what do you intent to do?
Do you mean you want to change the NTFS/FAT partition tables?
I don't think it's possible 'cause a file has an entry in the table containing
its size, address to the data on the HD and some other flags, whereas a folder
is just a special entry in the partition table.
By the way, what do you intent to do?
Windows 7 & PureBasic 4.4
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
I don't know :roll:Do you mean you want to change the NTFS/FAT partition tables?
I want just convert a folder in file. :roll:
I want :
1/ Create a folder
2/ Modify something that i don't know what ??
3/ And windows believe is a file
For windows believes it is a large file and store it in the middle of files
4/ I modify again something that i don't know what ??
5/ And my file is again a folder.
Like a winzip for example, but i don't want compression, i want the access is more quicky possible
I search a solution for run a application when the user is open a folder.By the way, what do you intent to do?
I already ask this question, but i don't have any answer
http://www.purebasic.fr/english/viewtopic.php?t=30765
Then, when i don't have solution, i search another method, for example :
Hide a directory in converting file
I must tell to you, i'm not administrator, and it is sometimes on a server
It's why i search a solution "simple" (if i can say), that works everywhere.
My ideas :
1/ Create a boot in a folder, like a boot floppy.
To force windows to run my program for each open folder
or
2/ Convert folder in file for hide it
In summary :
Launch an application contained in the directory for each open this folder, like a boot sequence floppy, or hard drive (Autoexec.bat)
And if is not possible
Convert this foder to file, with no compression
I prefer the first solution, but i think is more strong to do
I know is it there strong, it's the reason i ask you this question
Thanks for your interest
Last edited by Kwai chang caine on Sun Jan 27, 2008 1:31 pm, edited 1 time in total.
The happiness is a road...Not a destination
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Yeeeeessss !!!!
I'm happy, we speak so badly the english, me and google translate
You understand me, yahoooo!!!
This is a first problem fixed
The hardest rest has done, i believe
I wish that opening the application alone when the windows directory launches , aie aie aie !!!!
It's obviously impossible ?
I'm happy, we speak so badly the english, me and google translate
You understand me, yahoooo!!!
This is a first problem fixed
The hardest rest has done, i believe
But the more strong to do, i believe, is i do not want create an application that monitors the "Explorer".an application automatically when the user opens a folder?
In the Explorer?
I wish that opening the application alone when the windows directory launches , aie aie aie !!!!
It's obviously impossible ?
Last edited by Kwai chang caine on Sun Jan 27, 2008 1:40 pm, edited 1 time in total.
The happiness is a road...Not a destination
OK
One possible solution could be to hook the explorer and subclass
the Listview control to determine when the user doubleclicks on an item.
Then you'd have to check wether it is a file or a folder and accordingly run
your application.
Whoohoo, not easy...
EDIT:
One possible solution could be to hook the explorer and subclass
the Listview control to determine when the user doubleclicks on an item.
Then you'd have to check wether it is a file or a folder and accordingly run
your application.
Whoohoo, not easy...
EDIT:
It is possible, but thats beyond my skills...Kwaï chang caïne wrote: But the more strong to do, i believe, is i do not want create an application that monitors the "Explorer".
I wish that opening the application alone when the windows directory launches , aie aie aie !!!!
It's obviously impossible ?
Windows 7 & PureBasic 4.4
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Yes it isWhoohoo, not easy...
But, imagine the good option, for all programmers, if they could protect all their folders
The user clic the folder, the folder launch itself an application into him.
The application look the name of session.
1/ If is not the good name of session, "Couikkk !!"
2/ If is the good session, he ask a password, and if is good, open the folder
It was a super protection for all folder with access restricted.
I know, it's a strong chalenge,
Thats because, i ask this, at the strongs, gods, heros programmers
The happiness is a road...Not a destination
There are always ways to bypass such a system...Kwaï chang caïne wrote:It was a super protection for all folder with access restricted.
Yep, but that's definetly not meKwaï chang caïne wrote:I know, it's a strong chalenge,![]()
Thats because, i ask this, at the strongs, gods, heros programmers
Windows 7 & PureBasic 4.4
- Kwai chang caine
- Always Here

- Posts: 5499
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Yes i know :roll:There are always ways to bypass such a system...
All is bypass, when i see what all can do with the C, ASM, Pure etc ...
Nothing resist to the GOP (Gods Of Programmation
But, like a serial key, she stop a good party of users.
And it's all right, like that
Never mind, You have talk to me of my problem and i thank you for thatYep, but that's definetly not me
It's better than the first POST
You said, it is strong, but not impossible, i remain hopeful
Perhaps a GOD ears my voice
The nice frog
Sparkie
Trond
Srod or other
I will monitor the POST, and post pending, I crying all the tears from my corp
The happiness is a road...Not a destination
