|
The Program is some thing that we cant control(we dont own the code for it)
Till now i delete my Temp Files and Cookies / Temp Internet Files every EOD because of the issues in the Programs in Web.
Hence in need of this Batch file.
Please revert wats the code to Delete the Temp files and Temp Internet Files through Bat file.
Thanks in Advance.
Jayaraman B
|
|
|
|
|
Why don't you write a c# application? If you are writing bat file then it is not correct forum.
Anyway you can do it like this:
cd "path to folder"
del /q *
It will delete all files. If you write
del /f /q * then it will force Force deleting of read-only files.
|
|
|
|
|
I have a flow chart of a certain procedure with our company...made in Visio. I have then converted it to PDF using Acrobat. Is it possible to be able to load certain forms in a MS Access app by clicking on different boxes/steps created in the PDF? In other words, is it possible for the two to interact?
|
|
|
|
|
Hello,
I have a form which has SplitContainer with 2 SplitterPanels inside.
One panel contains UserControl which I use 2 paint OpenGL graphics in which covers entire Panel. I wonder if there is a way to prevent Panel from painting its background since it creates unnecessary flickering because its entirely covered by OpenGl window anyway. I was thinking of overriding OnPaintBackground but unfortunately SplitterPanel class is NotInheritable. Thanks for your reply.
|
|
|
|
|
How to hide one form and show the other form in c#
|
|
|
|
|
You can use Hide and Show methods of the form
|
|
|
|
|
I cant acees these functions (Hide And Show) how to do this
|
|
|
|
|
|
i dont have code snippet i am trying to move from one formm to another but cant find these functions when i press the Form1. they dont appear in drop down
|
|
|
|
|
this.Hide() will hide the form that is open. If Form2 is another class then
Form2 fr=new Form2();<br />
fr.Show()
|
|
|
|
|
thanx i was'nt creating an instance that's why could not access these functions.thanx a lot
|
|
|
|
|
Mujz......... wrote: i was'nt creating an instance that's why could not access these functions
You can access them without creating instance but you will get an exception during runtime
|
|
|
|
|
Giorgi Dalakishvili wrote: You can access them without creating instance but you will get an exception during runtime
I think he meant that he was attempting to call them as if they were static methods, rather than instance methods.
|
|
|
|
|
It seems that I have misunderstood
|
|
|
|
|
Don't worry - I was a bit confused about what he meant for a moment too.
|
|
|
|
|
The best way to do this is to create both forms as custom controls, put them both on the one form, and change which one is visible ( and resize the form if need be )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi to everyone. I 've a ref class.
In a method of the class i want to stop a while loop when a button is clicked.
How can i write this condition? thanks in advance for answers, regards.
|
|
|
|
|
The while loop needs to take place in a thread, then you can set a variable in your click event, which the loop checks every time through, and stops itself when it's set appropriately
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thank you...it's working.
|
|
|
|
|
hi ALL,
1)can anyone plz tell me how to disable the "property sheet" of any files..
When we right click we will see a context menu with the last one as properties.. which will display a set of properties such as General, Security etc. i want to disable this sheet...
2) how to disable the read only property of a file ... .
I need the registry keys for the same...
help me plz...
Proud To Be an Indian
|
|
|
|
|
There are no registry keys, you cannot stop windows from doing this, at least, I can't imagine how without writing what would essentially be a virus.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
its not for a virus . .. i agree that some will be using that but u know i need it my client. They want me to create an Undeletable file . .. There are keys which can disable Sharing, security. Even SYstem properties can be dsabled .. .
so plz if anyone know plz tell me
Proud To Be an Indian
|
|
|
|
|
vivekphlp wrote: They want me to create an Undeletable file
Even stuff in the System32 folder is deletable - and that will break your system if you delete the right files.
One way would be to create a windows service that opens the file and keeps it open. This would ensure that the file could not be deleted (you cannot delete a file if a process has opened it)
This has some drawbacks.
No other process can open the file with exclusive access.
If the windows service were to be stopped then the file would be deletable again. (This is very easy to do)
|
|
|
|
|
it was possible if there was 2 user accounts - the clients insist to have only one USER - that too {{ADMIN}} . . .
Proud To Be an Indian
|
|
|
|
|
vivekphlp wrote: it was possible if there was 2 user accounts
What do the number of user accounts have to do with it?
vivekphlp wrote: the clients insist to have only one USER - that too {{ADMIN}} . . .
They are going to be disappointed because Windows requires other accounts for itself. Most notably the System account (which has greater rights than Administrator)
|
|
|
|