Computer Hope
Software => Computer programming => Topic started by: Tan_Za on May 03, 2009, 01:35:28 AM
-
Hi,
I need help with a small issue. The issue is that I want to have my program run when I click on the folder that it is in. I have been looking into '.inf' and '.ini' configuration files and so far I haven't found much other than changing the folder icon, but that's not new information. I am running windows xp and this has to be written in either an '.inf' or a '.inf' type file.
Thank you for any help,
Tan_Za
-
Why, may I ask?
-
At my school the government has just put in the new systems and they are not secure. So in other words I have full control over every bodies accounts, so I can delete all of their work, and they can delete all of mine. I'm not the type of person who would go deleting other peoples work but I know a few people who will. So what I have done is made a security program that what I want this '.inf'/'.ini' file is to load it when they access my directory. My program will ask for a password and if they get it wrong then they get booted out of the directory. Sounds fair to me.
Thanks for replying anyways,
Tan_Za
-
....And to access your stuff, all they would have to do is Right Click --> Explore.
Tell your school about the problem.
-
I did and the school said that they had no power over the issue, it is all the government and if the government say they want it they want it.
Even if they go right click - explore the '.inf'/'.ini' file would still run. It is a config file so it runs when it detects a user entering the directory. I know that because I have done it before just not with running programs, only displaying messages and other sorts of display.
I just need to know how to do it and if you can't help then there is no point you replying any more,
Tan_Za
-
inf or ini files usually open in Notepad. Right click it, and choose Open With.
-
So exactly what do you want to do? Write a configuration or autorun to start a program?
Are you sure the school is aware of the problem? If so, they would definitely be able to do something about it.
Having complete access to everyone's files is something that should be dealt with immediately. Think about the data privacy, copyright and security issues.
Would you want your essay copied by someone else for them to hand in as their own?
This thing you are working on may help you, but not everyone else. I don't think your school understands the problem, and I'm also curious how these files are stored on the network.
-
Does any body have an answer, I thank you all for your input though.
The section that our account data is located in can't be easily access but you can if you do some simple steps. The School does care but they can't do anything with out government approval because it is the governments system. So we have to wait till next semester before anything will be done.
I just need to know how to do this for the time being.
Thank you for your help so far though,
Tan_Za
-
The command for the autorun should simply be open=file.exe or open=path\to\file.exe
Not sure about the configuration file though.
-
Well maybe this comment will make it easier to answer the question. How can I get my program to run once I have clicked on the folder that the program is in. That is basically what I need to know. I don't care how it is done, as long as it is not done with batch or anything related to that.
Thanks for your help so far. Also autorun.inf doesn't do anything in this case.
Tan_Za
-
Dude why the *censored* don't u hide the folder somewhere in the windows and add Hidden from properties? U can also try do delete the search from start and from right click menu so others can't search for it...or u can just save ur data on a Stick... :o
-
Dude, why don't you watch your language.
-
network drives have autorun disabled by default and folders don't have autorun abilities, only drives.
-
Dude, why don't you watch your language.
"*censored*" is bad language? I guess I misread the calendar. I thought it said 2009, not 1899.
-
What the *censored* are you talking about, Dias?
Perhaps it was better to say 'watch your attitude'? ::)