![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
|
MS Dos Syntax
I was wondering if anyone knew the syntax to execute an msdos command inside of a VB.Net program while it's running. For example: Let's say you want to remove all the permissions on a folder you want to have the command "CACLS c:\shares\ /e /r "mydomain\user"" execute, rather than having the computer create a batch file, run that batch file, then delete that batch file. I know there is a way to do that in VB.Net, but I want to use it for other references.
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
http://www.codeguru.com/Csharp/Cshar...icle.php/c8503
What you want to do is covered in this article, it is directed at C#.NET but in essence should be explainational enough to allow you to interperet. Hope it helps.
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles.. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
After re-reading your post, I must apologise. Your syntax seems to be correct.
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles.. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C# corruption!!! | Kilo | C++ | 32 | May 21st, 2006 9:44 PM |
| Masm | rsnd | Assembly | 4 | May 20th, 2006 10:05 PM |
| From C syntax to C++ syntax | Navid | C++ | 13 | Jan 15th, 2006 8:42 AM |
| Cobra | Sane | Python | 18 | Aug 22nd, 2005 6:19 PM |
| syntax problems. | troubleshooter | Bash / Shell Scripting | 2 | Apr 5th, 2005 10:34 PM |