Start waving to the components of the forum in my first post and to clarify that English is not my native language.
The final aim is to let the user to be able to select several simple parameters from a double command, combine these variables of the command to the selected disk drive. I have read a lot, but I’m confused in my beginnings.
This example is without the use of these variables, that I want to select from input, listbox, combobox, etc. In blue chkdsk command example, in red the selection of the drive.
File.Run("C:\\WINDOWS\\SYSTEM32\\CMD.EXE", "/C chkdsk /I/C F: >exit.txt" , "C:\\TEMP", SW_SHOWNORMAL, true);
File.Open("C:\\TEMP\\exit.txt", "", SW_SHOWNORMAL);
Told me I look good, thanks.

Reply With Quote